Weissbier Hat

Item ID 5881 Name Weissbier Hat
Yummy beer made of wheat and yeast. A secret recipe has been developed for hundreds of years.
Note: You can be drunken because its taste is so so good!
_______________________
MaxHP +3%
MaxSP +3%
DEX -10
_______________________
Refine Level +7:
MaxHP +5%
MaxSP +5%
DEX -5
When equipped, you're doing someething strange because you're drunk.
_______________________
Type: Headgear
Defense: 4
Position: Upper
Weight: 30
Armor Level: 1
_______________________
Requirement: None
Weapon Level 0 Identifier Weissbier_Hat
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 5 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 30 Min Equip Level None
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
bonus bMaxHPrate,3;
bonus bMaxSPrate,3;
bonus bDex,10;
if (getrefine()>6) {
   bonus bMaxHPrate,5;
   bonus bMaxSPrate,5;
   bonus bDex,5;
}