Hunting Cap of Gust

Item ID 18941 Name Hunting Cap of Gust
A hat with sealed force of false wind god.
_______________________
Decreases damage taken from Wind elemental attacks by 5%.
_______________________
Increases damage taken from Earth elemental attacks by 5%.
_______________________
Random chance to inflict Fear status on the enemy when wearer receiving physical or magical attack.
_______________________
Random chance to decreases enemy's SP by 30 when wearer receiving physical or magical attack.
_______________________
When equipped with Shining Trapezohedron:
Decreases damage taken from Ranged Physical Damage by 5%.
Decreases damage taken from magical attacks by 5%.
Decreases damage taken from Demi-Human race by 5%.

Refine Level +7:
Decreases damage taken from Demi-Human race by 5%.
_______________________
Indestructible in battle
_______________________
Type: Headgear
Defense: 0
Position: Upper
Weight: 100
Armor Level: 1
_______________________
Requirement:
Base Level 90
Weapon Level 0 Identifier Hunting_Cap_Of_Gust
Attack 0 Type Armor
MATK 0 Equip Locations Upper Headgear
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 10 Min Equip Level 90
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
bonus bUnbreakableHelm;
bonus2 bSubEle,Ele_Wind,5;
bonus2 bSubEle,Ele_Earth,-5;
bonus3 bAddEffWhenHit,Eff_Fear,100,ATF_WEAPON|ATF_MAGIC;
autobonus2 "{}",50,100,BF_WEAPON|BF_MAGIC,"{ heal 0,-30; }";

Set Script
Shining Trapezohedron
Hunting Cap of Gust
bonus bLongAtkDef,5;
bonus bMagicAtkDef,5;
bonus2 bSubRace,RC_DemiHuman,5;
if (getequiprefinerycnt(EQI_HEAD_TOP) >= 7)
   bonus2 bSubRace,RC_DemiHuman,5;
Hunting Cap of Gust
[Not For Sale] Shining Trapezohedron
bonus bLongAtkDef,5;
bonus bMagicAtkDef,5;
bonus2 bSubRace,RC_DemiHuman,5;
if (getequiprefinerycnt(EQI_HEAD_TOP) >= 7)
   bonus2 bSubRace,RC_DemiHuman,5;