Thief Shadow Earring

Item ID 28391 Name Thief Shadow Earring
A sacred earring which is believed to protect its wearer. It also draws the wearer's potential abilities.
_______________________
Adds 20% chance when using Throw Stone, increases ATK and FLEE by 30 for 5 seconds.
_______________________
For each Refine Level:
ATK +10
FLEE +10
_______________________
When equipped with Thief Shadow Pendant:
ATK +1%
MaxHP +1%

Total Refine Level of Thief Shadow Earring and Thief Shadow Pendant at least +10:
ATK +2%
MaxHP +2%
_______________________
Type: Shadow Earring
_______________________
Requirement: None
Weapon Level 0 Identifier S_Thief_earring
Attack 0 Type Shadow Equipment
MATK 0 Equip Locations Shadow Accessory Right (Earring)
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 0 Min Equip Level 1
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;
autobonus3 "{ .@val = 30+(getrefine()*10); bonus bBaseAtk,.@val; bonus bFlee,.@val; }",200,5000,"TF_THROWSTONE","{ specialeffect2 EF_POTION_BERSERK; }";

Set Script
Thief Shadow Pendant
Thief Shadow Earring
Assassin Shadow Shoes
Assassin Shadow Armor
Guillotine Cross Shadow Weapon
Guillotine Cross Shadow Shield
bonus bAllStats,10;
bonus bMaxHPrate,5;
bonus bMaxSPrate,5;
bonus2 bIgnoreDefClassRate,Class_Normal,50;
bonus2 bIgnoreMDefClassRate,Class_Normal,50;
Thief Shadow Pendant
Thief Shadow Earring
Rogue Shadow Shoes
Rogue Shadow Armor
Shadow Chaser Shadow Weapon
Shadow Chaser Shadow Shield
bonus bAllStats,10;
bonus bMaxHPrate,5;
bonus bMaxSPrate,5;
bonus2 bIgnoreDefClassRate,Class_Normal,50;
bonus2 bIgnoreMDefClassRate,Class_Normal,50;
Thief Shadow Pendant
Thief Shadow Earring
.@val = 1;
if ((getequiprefinerycnt(EQI_SHADOW_ACC_L)+getequiprefinerycnt(EQI_SHADOW_ACC_R)) >= 10) {
   .@val += 2;
}
bonus bAtkRate,.@val;
bonus bMaxHPrate,.@val;