Frontier Crystal (Death) 5Lv

Item ID 313897 Name Frontier Crystal (Death) 5Lv
Increases Damage against monsters of Ghost and Undead element by 10%.
_______________________
[Bonus by Equipment's Grade]
[Grade D]: Damage against monsters of Ghost and Undead element +1%.
[Grade C]: Damage against monsters of Ghost and Undead element +1%.
[Grade B]: Damage against monsters of Ghost and Undead element +2%.
[Grade A]: Damage against monsters of Ghost and Undead element +4%.
Weapon Level 0 Identifier Ch01_S_E_Death05
Attack 0 Type Card - Enchant
MATK 0 Equip Locations None
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 0 Equip Upper None
Weight 0 Min Equip Level None
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable No
Credit Price None Trade restriction None
Item Script
.@g = getenchantgrade();
bonus2 bAddEle,Ele_Ghost,10;
bonus2 bMagicAddEle,Ele_Ghost,10;
bonus2 bAddEle,Ele_Undead,10;
bonus2 bMagicAddEle,Ele_Undead,10;
if (.@g>=ENCHANTGRADE_D) {
   bonus2 bAddEle,Ele_Ghost,1;
   bonus2 bMagicAddEle,Ele_Ghost,1;
   bonus2 bAddEle,Ele_Undead,1;
   bonus2 bMagicAddEle,Ele_Undead,1;
   if (.@g>=ENCHANTGRADE_C) {
      bonus2 bAddEle,Ele_Ghost,1;
      bonus2 bMagicAddEle,Ele_Ghost,1;
      bonus2 bAddEle,Ele_Undead,1;
      bonus2 bMagicAddEle,Ele_Undead,1;
      if (.@g>=ENCHANTGRADE_B) {
         bonus2 bAddEle,Ele_Ghost,2;
         bonus2 bMagicAddEle,Ele_Ghost,2;
         bonus2 bAddEle,Ele_Undead,2;
         bonus2 bMagicAddEle,Ele_Undead,2;
         if (.@g>=ENCHANTGRADE_A) {
            bonus2 bAddEle,Ele_Ghost,4;
            bonus2 bMagicAddEle,Ele_Ghost,4;
            bonus2 bAddEle,Ele_Undead,4;
            bonus2 bMagicAddEle,Ele_Undead,4;
         }
      }
   }
}