Rune Armor of Ice

Item ID 450244 Name Rune Armor of Ice
Armor engraved with Varmundt's Ice Rune magic.
The imprint is amplified with the essence of ice.
_______________________
For each 25 base DEX:
CON +1
_______________________
Refine Level +7:
ATK +5%, P.ATK +2
_______________________
Refine Level +9:
Increases Critical Damage by 15%.
_______________________
Refine Level +11:
Increases Ranged Physical Damage by 15%.
_______________________
[Bonus by Grade]
[Grade D]: ATK +5%
[Grade C]: CON +5, ATK +5%.
[Grade B]: Ranged Physical Damage +10%.
[Grade A]: After Skill Delay -10%, CON +5.
_______________________
Type: Armor
Defense: 45
Weight: 100
Armor Level: 2
_______________________
Requirement:
Base Level 230
Weapon Level 0 Identifier Ice_Rune_Armor
Attack 0 Type Armor
MATK 0 Equip Locations Armor
Defense 45 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 100 Min Equip Level 230
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 bCon,(readparam(bDex)/25);
if (.@r>=7) {
   bonus bPAtk,2;
   bonus bAtkRate,5;
   if (.@r>=9) {
      bonus bCritAtkRate,15;
      if (.@r>=11) {
         bonus bLongAtkRate,15;
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bAtkRate,5;
   if (.@g>=ENCHANTGRADE_C) {
      bonus bAtkRate,5;
      bonus bCon,5;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bLongAtkRate,10;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bDelayrate,-10;
            bonus bCon,5;
         }
      }
   }
}

Set Script
Rune Manteau of Ice
Rune Armor of Ice
Rune Boots of Ice
bonus bCon,(readparam(bDex)/30);
bonus bLongAtkRate,10;
bonus bVariableCastrate,-15;