Stout Shadow Earring

Item ID 24879 Name Stout Shadow Earring
A sacred earring which is believed to protect its wearer. It also draws the wearer's potential abilities.
_______________________
DEF +30
_______________________
For each 2 Refine Levels:
RES +3
_______________________
Refine Level +10:
RES +15
_______________________
When equipped with Stamina Shadow Shield:
RES +15

Total Refine Level of entire set is at least +18:
STA +3, MaxHP +5%.
_______________________
Type: Shadow Earring
_______________________
Requirement:
Base Level 200
Weapon Level 0 Identifier S_Stout_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 200
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bDef,30;
bonus bRes,3*(.@r/2);
if (.@r>=10) {
   bonus bRes,15;
}

Set Script
Stout Shadow Pendant
Stout Shadow Earring
.@sum = getequiprefinerycnt(EQI_SHADOW_ACC_L)+getequiprefinerycnt(EQI_SHADOW_ACC_R);
bonus bDef,15;
bonus bRes,25;
if (.@sum>=18) {
   bonus bMaxHPrate,7;
}
Stout Shadow Earring
Stamina Shadow Shield
.@sum = getequiprefinerycnt(EQI_SHADOW_ACC_R)+getequiprefinerycnt(EQI_SHADOW_SHIELD);
bonus bRes,15;
if (.@sum>=18) {
   bonus bMaxHPrate,5;
   bonus bSta,3;
}