Witch's Pumpkin Hat

Item ID 18656 Name Witch's Pumpkin Hat
A tattered witch hat adorned with a baby pumpkin.
_______________________
STR +2
INT +2
MDEF +10
_______________________
Increases Damage against monsters of Undead elemental and Demon race monsters by 15%.
_______________________
When equipped with Mr. Smile:
Random chance a defeated monster will drop Pumpkin Pie.
_______________________
When equipped with Hahoe Mask:
ASPD +1
Random chance to increase ATK by 50 dealing physical attack.
_______________________
When equipped with Alarm Mask:
Random chance a defeated monster will drop Pumpkin or Well-Baked Cookie.
Increases recovery amount gained from Pumpkin and Well-Baked Cookie by 100%.
_______________________
When equipped with Opera Mask:
FLEE +10
Random chance to inflict Stun status on the target when dealing physical damage.
_______________________
When equipped with Gozarian Mask:
ATK +30
MATK +30
Random chance a defeated monster will drop Pumpkin Pie, Well-Baked Cookie, Candy or Candy Cane.
_______________________
Type: Headgear
Defense: 10
Position: Upper
Weight: 30
Armor Level: 1
_______________________
Requirement:
Base Level 20
Weapon Level 0 Identifier Wit_Pumpkin_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 30 Min Equip Level 20
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
bonus bMdef,10;
bonus bStr,2;
bonus bInt,2;
bonus2 bAddRace,RC_Undead,15;
bonus2 bMagicAddRace,RC_Undead,15;
bonus2 bAddRace,RC_Demon,15;
bonus2 bMagicAddRace,RC_Demon,15;

Set Script
Mr. Smile
Witch's Pumpkin Hat
bonus2 bAddMonsterDropItem,12192,400;
Opera Phantom Mask
Witch's Pumpkin Hat
bonus bFlee,10;
bonus2 bAddEff,Eff_Stun,1000;
Alarm Mask
Witch's Pumpkin Hat
bonus2 bAddItemHealRate,538,100;
bonus2 bAddItemHealRate,12192,100;
bonus2 bAddMonsterDropItem,538,400;
bonus2 bAddMonsterDropItem,12192,400;
Hahoe Mask
Witch's Pumpkin Hat
bonus bAspdRate,10;
autobonus "{ bonus bBaseAtk,50; }",20,10000,0,"{ specialeffect2 EF_POTION_BERSERK; }";
Mask Cube
Witch's Pumpkin Hat
bonus bBaseAtk,30;
bonus bMatk,30;
bonus2 bAddMonsterDropItem,529,400;
bonus2 bAddMonsterDropItem,530,400;
bonus2 bAddMonsterDropItem,538,400;
bonus2 bAddMonsterDropItem,12192,400;
Opera Masque
Witch's Pumpkin Hat
bonus bFlee,10;