Beginner's Shadow Shoes

Item ID 24389 Name Beginner's Shadow Shoes
A pair of shoes worn on top of normal shoes for additional defense. Needs a complete set to have bonus effect.
_______________________
AGI +2
_______________________
Type: Shadow Shoes
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Rebeginer_Shoes_S
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 100
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction Can't be dropped, Can't be traded with player, Can't be put in Cart, Can't be put in Storage, Can't be put in Guild Storage, Can't be attached in Mail, Can't be auctioned
Item Script
bonus bMaxHP,getrefine()*10;
bonus bAgi,2;

Set Script
Beginner's Shadow Armor
Beginner's Shadow Shield
Beginner's Shadow Shoes
Beginner's Shadow Weapon
Beginner's Shadow Earring
Beginner's Shadow Pendant
.@r = 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);
.@val = 20 + min(30,.@r);
if (BaseLevel >= 130) {
   .@val += 6;
}
else if (BaseLevel >= 125) {
   .@val += 3;
}
bonus2 bIgnoreDefRaceRate,RC_All,.@val;
bonus2 bIgnoreMdefRaceRate,RC_All,.@val;
bonus2 bIgnoreDefRaceRate,RC_Player_Human,-.@val;
bonus2 bIgnoreMdefRaceRate,RC_Player_Human,-.@val;