White Feather

Item ID 18573 Name White Feather
A berret decorated with white feather.
_______________________
MaxHP -10%
HIT +20
_______________________
Refine Level +5:
MaxHP +10%
HIT -10
HIT -3 and MaxHP +3% for every 2 Refine Levels.
_______________________
Type: Headgear
Defense: 2
Position: Upper
Weight: 50
Armor Level: 1
_______________________
Requirement:
Base Level 30
Weapon Level 0 Identifier White_Feather
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 2 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 50 Min Equip Level 30
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
if (.@r<5) {
   bonus bHit,20;
   bonus bMaxHPrate,-10;
} else if (.@r<7) {
   bonus bHit,10;
} else if (.@r<9) {
   bonus bHit,7;bonus bMaxHPrate,3;
}
else {
   bonus bHit,4;bonus bMaxHPrate,4;
}

Set Script
Pipe
White Feather
.@r = getequiprefinerycnt(EQI_HEAD_TOP);
if (.@r > 6) {
   bonus bMaxHPrate,((.@r-5)/2)*2;
   bonus bHit,(.@r-5)/2;
}