Corrupted Poison Rune 10Lv

Item ID 312394 Name Corrupted Poison Rune 10Lv
For each 20 base LUK:
ATK +10, POW +2, CRT +2.
_______________________
If enchanted Equipment's Grade is D or higher:
P.ATK +6.
Increases Physical Damage by 6%.
_______________________
If enchanted Equipment's Grade is C or higher:
P.ATK +9.
Increases Physical Damage by 10%.
_______________________
If enchanted Equipment's Grade is B or higher:
P.ATK +12.
Increases Physical Damage by 14%.
_______________________
If enchanted Equipment's Grade is A or higher:
P.ATK +15.
Increases Physical Damage by 18%.
Weapon Level 0 Identifier Corrupt_Poison_R_10
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
.@luk = (readparam(bLuk)/20);
.@g = getenchantgrade();
bonus bBaseAtk,10*.@luk;
bonus bPow,2*.@luk;
bonus bCrt,2*.@luk;
if (.@g>=ENCHANTGRADE_D) {
   bonus bShortAtkRate,6;
   bonus bLongAtkRate,6;
   bonus bPAtk,6;
   if (.@g>=ENCHANTGRADE_C) {
      bonus bShortAtkRate,10;
      bonus bLongAtkRate,10;
      bonus bPAtk,9;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bCritAtkRate,14;
         bonus bPAtk,12;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bCritAtkRate,18;
            bonus bPAtk,15;
         }
      }
   }
}