Poring Fedora Hat

Item ID 18802 Name Poring Fedora Hat
MaxHP +5%
_______________________
Refine Level +5:
MaxHP +1%

For each Refine Level:
MaxSP -2%
_______________________
Refine Level +10:
MaxHP +4%
MaxSP -3%
_______________________
Type: Headgear
Defense: 10
Position: Upper
Weight: 10
Armor Level: 1
_______________________
Requirement: None
Weapon Level 0 Identifier Boss_Hat
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 10 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 10 Min Equip Level None
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bMaxHPrate,5;
if (.@r >= 5) {
   bonus bMaxHPrate,1;
   bonus bMaxSPrate,-2*.@r;
   if (.@r >= 10) {
      bonus bMaxHPrate,4;
      bonus bMaxSPrate,-3;
   }
}

Set Script
11th Anniversary Card
Poring Fedora Hat
.@r = getequiprefinerycnt(EQI_HEAD_TOP);
bonus bHPrecovRate,((.@r>=10)?100:(.@r>=9)?75:(.@r>=7?50:25));
bonus bSPrecovRate,((.@r>=10)?100:(.@r>=9)?75:(.@r>=7?50:25));