Shatter Buster Shadow Earring

Item ID 24610 Name Shatter Buster Shadow Earring
A sacred earring which is believed to protect its wearer. It also draws the wearer's potential abilities.
_______________________
MaxSP +5%
_______________________
Refine Level +7:
Increases Ranged Physical Damage by 7%.
_______________________
Refine Level +9:
Decreases SP Consumption of Banishing Buster by 15%.
_______________________
When combined with Shatter Buster Shadow Pendant and Shatter Buster Shadow Shoes:
For each 2 Refine Levels of entire set:
Increases damage of Shattering Storm and Banishing Buster damage by 1%.
_______________________
When combined with Rebellion Shadow Armor:
Ignores physical defense of all race, except Players, by 40%.

For each Refine Level of entire set:
Ignores physical defense of all race, except Players, by additional 1%.
_______________________
Type: Shadow Earring
_______________________
Requirement:
Base Level 99
Gunslinger
Weapon Level 0 Identifier S_Shatter_Buster_Earing
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Accessory Right (Earring)
Defense 0 Equippable Jobs Gunslinger, Rebellion
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 0 Min Equip Level 99
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 bMaxSPrate,5;
if (.@r>=7) {
   bonus bLongAtkRate,7;
}
if (.@r>=9) {
   bonus2 bSkillUseSPrate,"RL_BANISHING_BUSTER",15;
}

Set Script
Shatter Buster Shadow Earring
Rebellion Shadow Armor
.@sum = getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ARMOR);
bonus2 bIgnoreDefRaceRate,RC_All,40+.@sum;
bonus2 bIgnoreDefRaceRate,RC_Player_Human,-40-.@sum;
bonus2 bIgnoreDefRaceRate,RC_Player_Doram,-40-.@sum;
Shatter Buster Shadow Earring
Shatter Buster Shadow Pendant
Shatter Buster Shadow Shoes
.@sum = getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L)+getequiprefinerycnt(EQI_SHADOW_SHOES);
bonus2 bSkillAtk,"RL_BANISHING_BUSTER",.@sum/2;
bonus2 bSkillAtk,"RL_S_STORM",.@sum/2;