Es Shadow Armor

Item ID 24657 Name Es Shadow Armor
A suit of armor worn on top of normal armor for additional defense. Needs a complete set to have bonus effect.
_______________________
Increases damage of Esma by 10%.
_______________________
For each 2 Refine Levels:
Increases damage of Espa and Eswhoo by additional 1%.
_______________________
Type: Shadow Armor
_______________________
Requirement:
Base Level 99
Soul Reaper
Weapon Level 0 Identifier S_S_Armor
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Armor
Defense 0 Equippable Jobs Soul Linker
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 0 Min Equip Level 99
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;
bonus2 bSkillAtk,"SL_SMA",10;
bonus2 bSkillAtk,"SP_SPA",(.@r/2);
bonus2 bSkillAtk,"SP_SWHOO",(.@r/2);

Set Script
Es Shadow Weapon
Es Shadow Shield
Es Shadow Armor
.@sum = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_SHIELD)+getequiprefinerycnt(EQI_SHADOW_ARMOR);
bonus2 bSkillAtk,"SP_SPA",.@sum;
bonus2 bSkillAtk,"SP_SWHOO",.@sum;