Spiritual Shadow Pendant

Item ID 24080 Name Spiritual Shadow Pendant
A sacred necklace which is believed to protect its wearer. It also draws the wearer's potential abilities.
_______________________
MaxSP +1%
_______________________
Refine Level +7:
MaxSP +1%
_______________________
When equipped with Spiritual Shadow Weapon and Spiritual Shadow Earring:
1% chance to absorb 1% physical damage infllicted on the target into SP.
_______________________
Total Refine Level of entire set at least +10:
additional 1% of the damage absorbed by SP.
_______________________
Type: Shadow Pendant
_______________________
Requirement: None
Weapon Level 0 Identifier S_Spiritual_Pendent
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Accessory Left (Pendant)
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 bMaxHP,.@r*10;
bonus bMaxSPrate,(.@r>=7?2:1);

Set Script
Spiritual Shadow Weapon
Spiritual Shadow Earring
Spiritual Shadow Pendant
bonus2 bSPDrainRate,10,1+(getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L)/10);
Spiritual Shadow Earring
Spiritual Shadow Pendant
Spiritual Shadow Weapon II
bonus2 bSPDrainRate,10,1+(getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L))/10;
Spiritual Shadow Earring
Spiritual Shadow Pendant
Spirit Magic Executioner Shadow Weapon
.@r = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L);
if (.@r >= 25) {
   bonus bMatkRate,2;
}
else if (.@r >= 20) {
   bonus bMatkRate,1;
}
bonus bMatk,10;