Full Tempest Shadow Shoes

Item ID 24666 Name Full Tempest Shadow Shoes
A pair of shoes worn on top of normal shoes for additional defense. Needs a complete set to have bonus effect.
_______________________
Ignores magical defense of enemies of all race, except Players, by 5%.
_______________________
For each 2 Refine Levels:
Ignores magical defense of enemies of all race, except Players, by additional 1%.
_______________________
Refine Level +10:
Increases Magical Damage against monsters of every race, except Players, by 3%.
_______________________
Type: Shadow Shoes
_______________________
Requirement: None
Weapon Level 0 Identifier S_FullTemp_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 None
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 bIgnoreMdefRaceRate,RC_All,5+(.@r/2);
bonus2 bIgnoreMdefRaceRate,RC_Player_Human,-5-(.@r/2);
bonus2 bIgnoreMdefRaceRate,RC_Player_Doram,-5-(.@r/2);
if (.@r>=10) {
   bonus2 bMagicAddRace,RC_All,3;
   bonus2 bMagicAddRace,RC_Player_Human,-3;
   bonus2 bMagicAddRace,RC_Player_Doram,-3;
}

Set Script
Full Tempest Shadow Armor
Full Tempest Shadow Shoes
.@sum = getequiprefinerycnt(EQI_SHADOW_ARMOR)+getequiprefinerycnt(EQI_SHADOW_SHOES);
bonus bMatkRate,2;
if (.@sum >= 18) {
   bonus2 bIgnoreMdefRaceRate,RC_All,100;
   bonus2 bIgnoreMdefRaceRate,RC_Player_Human,-100;
   bonus2 bIgnoreMdefRaceRate,RC_Player_Doram,-100;
}