Insomnia Shadow Shoes

Item ID 24094 Name Insomnia Shadow Shoes
A pair of shoes worn on top of normal shoes for additional defense. Needs a complete set to have bonus effect.
_______________________
DEF +1
_______________________
For each Refine Level:
Increases resistance against Sleep status by 1%.
_______________________
When equipped with Insomnia Shadow Armor and Stability Shadow Shield:
DEF +5
_______________________
Total Refine Level of entire set at least +20:
Prevents Sleep status.
_______________________
Type: Shadow Shoes
_______________________
Requirement: None
Weapon Level 0 Identifier S_Insomniac_Shoes
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Shoes
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 bDef,1;
bonus2 bResEff,Eff_Sleep,.@r;

Set Script
Stability Shadow Shield
Insomnia Shadow Armor
Insomnia Shadow Shoes
bonus bDef,5;
if (getequiprefinerycnt(EQI_SHADOW_SHIELD)+getequiprefinerycnt(EQI_SHADOW_ARMOR)+getequiprefinerycnt(EQI_SHADOW_SHOES) >= 20)
   bonus2 bResEff,Eff_Sleep,10000;