Malicious Shadow Armor II

Item ID 24325 Name Malicious Shadow Armor II
A suit of armor worn on top of normal armor for additional defense. Needs a complete set to have bonus effect.
_______________________
MaxHP +100
ATK +1%
_______________________
Refine Level +7:
ATK +1%
_______________________
When equipped with Malicious Shadow Shield and Malicious Shadow Shoes:
4% chance to absorb 2% physical damage into HP when dealing physical damage.
_______________________
For each 5 Refine Levels of entire set:
Additional 1% of the damage absorbed into HP.
_______________________
Type: Shadow Armor
_______________________
Requirement: None
Weapon Level 0 Identifier S2_Malicious_Armor
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Armor
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,100+.@r*10;
bonus bAtkRate,1 + (.@r >= 7);

Set Script
Malicious Shas Shadow Shoes
Malicious Shas Shadow Shield
Malicious Shadow Armor II
bonus2 bHPDrainRate,40,2+(getequiprefinerycnt(EQI_SHADOW_ARMOR)+getequiprefinerycnt(EQI_SHADOW_SHIELD)+getequiprefinerycnt(EQI_SHADOW_SHOES))/5;