Dragonic Spear Shadow Earring

Item ID 1270023 Name Dragonic Spear Shadow Earring
A sacred earring which is believed to protect its wearer. It also draws the wearer's potential abilities.
_______________________
Increases damage of Dragonic Pierce by 5%.
_______________________
For each 2 Refine Levels:
Critical +1, ATK +4.
_______________________
For each 3 Refine Levels:
Increases damage of Dragonic Pierce by additional 1%.
_______________________
When equipped with Dragonic Spear Master Shadow Pendant:
ATK +2%, P.ATK +2.

Total Refine Level of entire set is at least +15:
Increases Physical Damage against enemies of every size by 7%.

Total Refine Level of entire set is at least +18:
Ignores physical defense of every race, except Players, by 50%.
_______________________
When equipped with Dragonic Spear Shadow Pendant and Master Shadow Weapon:
Critical +3, C.RATE +1.

Total Refine Level of entire set is at least +27:
Ignores physical resistance of every race, except Players, by 10%.
_______________________
[Shadow Exclusive Magic Book]itemmall,41,63,0,100,0,0 can grant Random Options with 2 Shadow Essences to it.
_______________________
Type: Shadow Earring
_______________________
Requirement:
Base Level 200
Dragon Knight
Weapon Level 0 Identifier S_DK_DS_Earring
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Accessory Right (Earring)
Defense 0 Equippable Jobs Knight
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;
bonus2 bSkillAtk,"DK_DRAGONIC_PIERCE",5+(.@r/3);
bonus bCritical,(.@r/2);
bonus bBaseAtk,4*(.@r/2);

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