Beginner's Shadow Weapon

Item ID 24390 Name Beginner's Shadow Weapon
A pair of gloves that can draw the wearer's potential ability.
_______________________
STR +2
_______________________
Type: Shadow Weapon
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Rebeginer_Weapon_S
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Weapon
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
.@r = getrefine();
bonus bBaseAtk,.@r;
bonus bMatk,.@r;
bonus bStr,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;