Beginner's Shadow Armor

Item ID 24387 Name Beginner's Shadow Armor
A suit of armor worn on top of normal armor for additional defense. Needs a complete set to have bonus effect.
_______________________
INT +2
_______________________
When equipped with Beginner's Shadow Armor, Beginner's Shadow Weapon, Beginner's Shadow Shield, Beginner's Shadow Shoes, Beginner's Shadow Earring and Beginner's Shadow Pendant:
Ignores physical and magical defense of all monsters, except Players, by 20%.
_______________________
For each Refine Level of entire set (up to +30):
Ignores physical and magical defense of all monsters, except Players, by additional 1%.
_______________________
Base Level at least 125:
Ignores physical and magical defense of all monsters, except Players, by additional 3%.
_______________________
Base Level at least 130:
Ignores physical and magical defense of all monsters, except Players, by additional 3%.
_______________________
Type: Shadow Armor
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Rebeginer_Armor_S
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Armor
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 bInt,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;