Officer's Hat

Item ID 400011 Name Officer's Hat
A high-ranking officer's hat.
Gold ornaments are the highlight of the understated color tone.
_______________________
When equipped, consumes 10 HP every 5 seconds.
_______________________
For each 2 Refine Levels:
ATK +5
MATK +5
_______________________
Refine Level +7:
ATK +5%
MATK +5%
_______________________
Refine Level +9:
Physical attacks have a 5% chance of absorbing 5% of the damage dealt as HP.
Physical attacks have a 1% chance of absorbing 3% of the damage dealt as SP.

Magical attacks have a 4% chance to recover 300 HP every second for 4 seconds.
Magical attacks have a 4% chance to recover 70 SP every second for 4 seconds.
_______________________
Type: Headgear
Defense: 35
Position: Upper
Weight: 40
Armor Level: 1
_______________________
Requirement: None
Weapon Level 0 Identifier Officer_Cap
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 35 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 40 Min Equip Level None
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus2 bHPLossRate,10,5000;
bonus bMatk,5*(.@r/2);
bonus bBaseAtk,5*(.@r/2);
if (.@r>=7) {
   bonus bMatkRate,5;
   bonus bAtkRate,5;
}
if (.@r>=9) {
   bonus2 bHPDrainRate,50,5;
   bonus2 bSPDrainRate,10,3;
   autobonus "{ bonus2 bHPRegenRate,300,1000; }",40,4000,BF_MAGIC;
   autobonus "{ bonus2 bSPRegenRate,70,1000; }",40,4000,BF_MAGIC;
}