Tempest Shadow Shoes

Item ID 24346 Name 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 physical defense of Normal class by 5%.
_______________________
For each 2 Refine Levels:
Ignores physical defense of Normal class by additional 1%.
_______________________
Type: Shadow Shoes
_______________________
Requirement: None
Weapon Level 0 Identifier S_Tempest_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;
bonus2 bIgnoreMdefClassRate,Class_Normal,5+(.@r/2);

Set Script
Tempest Shadow Earring
Tempest Pendant Shadow
Tempest Shadow Shield
Tempest Shadow Shoes
Tempest Shadow Weapon
Tempest Shadow Armor
if ((getequiprefinerycnt(EQI_SHADOW_ARMOR)+getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_SHIELD)+getequiprefinerycnt(EQI_SHADOW_SHOES)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L)) >= 54) {
   bonus2 bIgnoreDefClassRate,Class_Normal,20;
}
Tempest Shadow Shield
Tempest Shadow Shoes
Magic Executioner Holy Water Shadow Armor
.@r = getequiprefinerycnt(EQI_SHADOW_SHIELD) + getequiprefinerycnt(EQI_SHADOW_SHOES) + getequiprefinerycnt(EQI_SHADOW_ARMOR);
bonus bMdef,5;
if (.@r >= 25) {
   bonus2 bIgnoreMdefRaceRate,RC_DemiHuman,100;
   bonus2 bIgnoreMdefRaceRate,RC_Undead,100;
}
Tempest Shadow Shield
Tempest Shadow Shoes
Magic Exorcist Corrupted Shadow Armor
.@r = getequiprefinerycnt(EQI_SHADOW_SHIELD) + getequiprefinerycnt(EQI_SHADOW_SHOES) + getequiprefinerycnt(EQI_SHADOW_ARMOR);
bonus bMdef,5;
if (.@r >= 25) {
   bonus2 bIgnoreMdefRaceRate,RC_Demon,100;
   bonus2 bIgnoreMdefRaceRate,RC_Angel,100;
}
Tempest Shadow Shield
Tempest Shadow Shoes
Magic Vibration Dragon Killer Shadow Armor
.@r = getequiprefinerycnt(EQI_SHADOW_SHIELD) + getequiprefinerycnt(EQI_SHADOW_SHOES) + getequiprefinerycnt(EQI_SHADOW_ARMOR);
bonus bMdef,5;
if (.@r >= 25) {
   bonus2 bIgnoreMdefRaceRate,RC_Formless,100;
   bonus2 bIgnoreMdefRaceRate,RC_Dragon,100;
}
Tempest Shadow Shield
Tempest Shadow Shoes
Magic Scissor Hunting Shadow Armor
.@r = getequiprefinerycnt(EQI_SHADOW_SHIELD) + getequiprefinerycnt(EQI_SHADOW_SHOES) + getequiprefinerycnt(EQI_SHADOW_ARMOR);
bonus bMdef,5;
if (.@r >= 25) {
   bonus2 bIgnoreMdefRaceRate,RC_Plant,100;
   bonus2 bIgnoreMdefRaceRate,RC_Brute,100;
}
Tempest Shadow Shield
Tempest Shadow Shoes
Magic Fishing Insect Net Shadow Armor
.@r = getequiprefinerycnt(EQI_SHADOW_SHIELD) + getequiprefinerycnt(EQI_SHADOW_SHOES) + getequiprefinerycnt(EQI_SHADOW_ARMOR);
bonus bMdef,5;
if (.@r >= 25) {
   bonus2 bIgnoreMdefRaceRate,RC_Fish,100;
   bonus2 bIgnoreMdefRaceRate,RC_Insect,100;
}