Beginner's Shadow Pendant

Item ID 24392 Name Beginner's Shadow Pendant
A sacred necklace which is believed to protect its wearer. It also draws the wearer's potential abilities.
_______________________
LUK +2
_______________________
Type: Shadow Pendant
_______________________
Requirement:
Base Level 100
Weapon Level 0 Identifier Rebeginer_Pendant_S
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Accessory Left (Pendant)
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 bLuk,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;