Sentimental Shadow Weapon

Item ID 24380 Name Sentimental Shadow Weapon
A pair of gloves that can draw the wearer's potential ability.
_______________________
MaxSP +10
_______________________
For each 2 Refine Levels:
MaxSP +15
_______________________
When equipped with Sentimental Shadow Earring and Sentimental Shadow Pendant:
1% chance to restore 10 SP for 5 seconds when dealing physical attacks.
_______________________
Total Refine Level of entire set at least +15:
Increases the trigger rate by 1%.
_______________________
Total Refine Level of entire set at least +25:
Increases total of restored SP by 20.
_______________________
Type: Shadow Weapon
_______________________
Requirement: None
Weapon Level 0 Identifier Sentimental_Weapone_S
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Weapon
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 0 Min Equip Level 1
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bBaseAtk,.@r;
bonus bMatk,.@r;
bonus bMaxSP,10+((.@r/2)*15);

Set Script
Sentimental Shadow Weapon
Sentimental Shadow Earring
Sentimental Shadow Pendant
.@r = getequiprefinerycnt(EQI_SHADOW_WEAPON) + getequiprefinerycnt(EQI_SHADOW_ACC_R) + getequiprefinerycnt(EQI_SHADOW_ACC_L);
.@rate = 20 + 10*(.@r/10);
if (.@r >= 25) {
   .@sp = 30;
}
else {
   .@sp = 10;
}
autobonus "{ bonus2 bSPRegenRate,"+.@sp+",1000; }",.@rate,5000;