Fatal Master Shadow Pendant

Item ID 1270016 Name Fatal Master Shadow Pendant
A sacred necklace which is believed to protect its wearer. It also draws the wearer's potential abilities.
_______________________
Critical +1, C.RATE +1.
_______________________
For each 3 Refine Levels:
Increases Critical Damage by 2%.
_______________________
Refine Level +10:
Critical +3, P.ATK +1.
_______________________
[Shadow Exclusive Magic Book]itemmall,41,63,0,100,0,0 can grant Random Options with 2 Shadow Essences to it.
_______________________
Type: Shadow Pendant
_______________________
Requirement:
Base Level 200
Weapon Level 0 Identifier S_Fatal_M_Pendant
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 200
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;
bonus bCRate,1;
bonus bCritical,1;
bonus bCritAtkRate,2*(.@r/3);
if (.@r>=10) {
   bonus bPAtk,1;
   bonus bCritical,3;
}

Set Script
Fatal Master Shadow Earring
Master Shadow Weapon
Fatal Master Shadow Pendant
.@sum = getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_L);
bonus2 bAddSize,Size_All,5;
bonus bPAtk,2;
if (.@sum>=27) {
   bonus2 bIgnoreResRaceRate,RC_All,10;
   bonus2 bIgnoreResRaceRate,RC_Player_Human,-10;
   bonus2 bIgnoreResRaceRate,RC_Player_Doram,-10;
}
Fatal Master Shadow Earring
Fatal Master Shadow Pendant
.@sum = getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L);
bonus bCRate,2;
if (.@sum>=15) {
   bonus2 bAddEle,Ele_All,5;
   bonus bCritical,3;
   if (.@sum>=18) {
      bonus2 bIgnoreDefRaceRate,RC_All,50;
      bonus2 bIgnoreDefRaceRate,RC_Player_Human,-50;
      bonus2 bIgnoreDefRaceRate,RC_Player_Doram,-50;
   }
}