Wickebine's Black Cat Ears-LT

Item ID 400153 Name Wickebine's Black Cat Ears-LT
An improved version of the black cat ears used by Wickebine.
_______________________
FLEE +20
_______________________
Increases Critical Damage by 15%.
Increases Magical Damage with every element by 15%.
_______________________
Base Level at least 210:
P.ATK +2
S.MATK +2
_______________________
Physical attacks have a certain chance to increase Critical by 30 for 10 seconds.
Magical attacks have a certain chance to ignore magic defense of all race, except Players, by 100% for 10 seconds.
_______________________
Refine Level +7:
Increases Critical Damage by additional 10%.
Increases Magical Damage with every element by additional 10%.
_______________________
Refine Level +9:
ATK +5%, MATK +5%
_______________________
Refine Level +11:
Decreases After Skill Delay by 5%.
_______________________
[Bonus by Grade]
[Grade D]: Refine Level +11: After Skill Delay -5%.
[Grade C]: P.ATK +2, S.MATK +2
[Grade B]: Refine Level +12: Fixed Casting Time -0.5 seconds.
_______________________
Type: Headgear
Defense: 0
Position: Upper
Weight: 20
Armor Level: 2
_______________________
Requirement:
Base Level 150
Weapon Level 0 Identifier Whikebain_Ears_K_LT
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 20 Min Equip Level 150
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@g = getenchantgrade();
.@r = getrefine();
bonus bFlee,20;
bonus2 bMagicAtkEle,Ele_All,15;
bonus bCritAtkRate,15;
if (BaseLevel>=210) {
   bonus bPAtk,2;
   bonus bSMatk,2;
}
if (.@r>=7) {
   bonus bCritAtkRate,10;
   bonus2 bMagicAtkEle,Ele_All,10;
   if (.@r>=9) {
      bonus bAtkRate,5;
      bonus bMatkRate,5;
      if (.@r>=11) {
         bonus bDelayrate,-5;
      }
   }
}
if (.@g >= ENCHANTGRADE_D) {
   if (.@r>=11) {
      bonus bDelayrate,-5;
   }
}
if (.@g >= ENCHANTGRADE_C) {
   bonus bPAtk,2;
   bonus bSMatk,2;
   if (.@g >= ENCHANTGRADE_B) {
      if (.@r>=12) {
         bonus bFixedCast,-500;
      }
   }
}
autobonus "{ bonus bCritical,30; }",1,10000,BF_WEAPON;
autobonus "{ bonus2 bIgnoreMdefRaceRate,RC_All,100; bonus2 bIgnoreMdefRaceRate,RC_Player_Human,-100; bonus2 bIgnoreMdefRaceRate,RC_Player_Doram,-100; }",1,10000,BF_MAGIC;