Corrupted Poison Rune Cloth

Item ID 450281 Name Corrupted Poison Rune Cloth
An robe created through deep energy research on the Varmundt Biosphere.
Imprinted with the runic magic of corruption and poison.
_______________________
Critical +5.
ATK +70.
_______________________
For each 2 Refine Levels:
ATK +12, DEF +30.
_______________________
Refine Level +7:
ATK +3%, P.ATK +2, MDEF +25.
_______________________
Refine Level +9:
MDEF +25, C.RATE +3.
_______________________
Refine Level +11:
Decreases After Skill Delay by 10%.
Increases Physical Damage by 2%.
Increases Critical Damage by 5%.
_______________________
[Bonus by Grade]
[Grade D]: ATK +10, ATK +5%.
[Grade C]: ATK +20, ATK +8%, Critical Damage +8%.
[Grade B]: ATK +11%, Physical Damage +5%, POW +5.
[Grade A]: ATK +14%, Physical Damage +7%, CRT +5.
_______________________
Type: Armor
Defense: 0
Weight: 100
Armor Level: 2
_______________________
Requirement:
Base Level 250
Weapon Level 0 Identifier Corrupt_P_R_Cloth
Attack 0 Type Armor
MATK 0 Equip Locations Armor
Defense 0 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 100 Min Equip Level 250
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction Can't be dropped, Can't be traded with player, Can't be put in Cart, Can't be put in Guild Storage, Can't be attached in Mail, Can't be auctioned
Item Script
.@g = getenchantgrade();
.@r = getrefine();
bonus bCritical,5;
bonus bBaseAtk,70+12*(.@r/2);
bonus bDef,30*(.@r/2);
if (.@r>=7) {
   bonus bPAtk,2;
   bonus bAtkRate,3;
   bonus bMdef,25;
   if (.@r>=9) {
      bonus bCRate,3;
      bonus bMdef,25;
      if (.@r>=11) {
         bonus bCritAtkRate,5;
         bonus bLongAtkRate,2;
         bonus bShortAtkRate,2;
         bonus bDelayrate,-10;
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bAtkRate,5;
   bonus bBaseAtk,10;
   if (.@g>=ENCHANTGRADE_C) {
      bonus bCritAtkRate,8;
      bonus bAtkRate,8;
      bonus bBaseAtk,20;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bLongAtkRate,5;
         bonus bShortAtkRate,5;
         bonus bAtkRate,11;
         bonus bPow,5;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bLongAtkRate,7;
            bonus bShortAtkRate,7;
            bonus bAtkRate,14;
            bonus bCrt,5;
         }
      }
   }
}

Set Script
Corrupted Poison Rune Cloth
Biosphere Abyss Ring
bonus2 bIgnoreDefClassRate,Class_All,50;
bonus2 bAddClass,Class_All,30;