Magical Shadow Shoes

Item ID 24396 Name Magical Shadow Shoes
A pair of shoes worn on top of normal shoes for additional defense. Needs a complete set to have bonus effect.
_______________________
Decreases Variable Casting Time by 2%.
_______________________
Refine Level +7:
Decreases Variable Casting Time by additional 3%.
_______________________
Refine Level +9:
Decreases Variable Casting Time by additional 3%.
_______________________
Type: Shadow Shoes
_______________________
Requirement: None
Weapon Level 0 Identifier S_Magical_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;
if (.@r >= 9) {
   bonus bVariableCastrate,-8;
} else if (.@r >= 7) {
   bonus bVariableCastrate,-5;
}
else {
   bonus bVariableCastrate,-2;
}

Set Script
Magical Shadow Shoes
Magical Shadow Shield
Magical Shadow Armor
.@r = getequiprefinerycnt(EQI_SHADOW_ARMOR) + getequiprefinerycnt(EQI_SHADOW_SHIELD) + getequiprefinerycnt(EQI_SHADOW_SHOES);
bonus bMatk,.@r*2;
if (.@r >= 25) {
   bonus bMatkRate,5;
}
else if (.@r >= 23) {
   bonus bMatkRate,2;
}