Shaman Hat

Item ID 5665 Name Shaman Hat
A hat used to communicate with the spirits.
_______________________
MDEF +5
_______________________
When equipped by Mage classes:
Decreases Variable Casting Time by 3%.
_______________________
When equipped by Soul Linker:
Random chance to auto-cast Level 5 Estun when dealing magical damage.
_______________________
Refine Level +7:
INT +2
INT +1 for every Refine Level above +10.
_______________________
Type: Headgear
Defense: 5
Position: Upper
Weight: 40
Armor Level: 1
_______________________
Requirement: None
Weapon Level 0 Identifier Shaman_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 1 Equip Upper None
Weight 40 Min Equip Level 1
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction Can't be dropped
Item Script
.@r = getrefine();
bonus bMdef,5;
if (BaseClass == Job_Mage)
   bonus bVariableCastrate,-3;
if (BaseClass == Job_Soul_Linker)
   bonus5 bAutoSpell,"SL_STUN",5,10,BF_MAGIC,1;
if (.@r>=7)
   bonus bInt,2;
if (.@r>=10)
   bonus bInt,.@r-10;