Force Shadow Earring

Item ID 24225 Name Force Shadow Earring
A sacred earring which is believed to protect its wearer. It also draws the wearer's potential abilities.
_______________________
ATK +5
_______________________
For each Refine Level:
ATK +1
_______________________
Refine Level +7:
MaxHP +1%
_______________________
Refine Level +9:
ATK +1%.
_______________________
When equipped with Force Shadow Weapon and Force Shadow Pendant:
ATK +10
_______________________
Total Refine Level of entire set at least +20:
ATK +1%.
_______________________
Total Refine Level of entire set at least +25:
ATK +1%.
_______________________
Type: Shadow Earring
_______________________
Requirement:
Base Level 70
Weapon Level 0 Identifier S_Force_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 70
NPC Buy 10 Max Equip Level None
NPC Sell 5 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMaxHP,.@r*10;
bonus bBaseAtk,5+.@r;
if (.@r>=7) {
   bonus bMaxHPrate,1;
}
if (.@r>=9) {
   bonus2 bAddClass,Class_All,1;
}

Set Script
Enhanced Force Shadow Weapon
Force Shadow Earring
Force Shadow Pendant
.@r = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L);
bonus2 bAddClass,Class_All,1;
if (.@r>=20) {
   bonus2 bAddClass,Class_All,1;
}
if (.@r>=25) {
   bonus2 bAddClass,Class_All,1;
}
Force Shadow Weapon
Force Shadow Earring
Force Shadow Pendant
.@r = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L);
bonus bBaseAtk,10;
if (.@r>=20) {
   bonus2 bAddClass,Class_All,1;
}
if (.@r>=25) {
   bonus2 bAddClass,Class_All,1;
}
Force Shadow Earring
Force Shadow Pendant
Force Executioner Shadow Weapon
.@r = getequiprefinerycnt(EQI_SHADOW_WEAPON)+getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_ACC_L);
bonus bBaseAtk,10;
if (.@r>=20) {
   bonus bAtkRate,1;
}
if (.@r>=25) {
   bonus bAtkRate,1;
}