Varmundt Ice Rune Armor

Item ID 450203 Name Varmundt Ice Rune Armor
Armor engraved with Varmundt's Ice Rune magic.
It is a mark of concentration.
_______________________
For each 25 base DEX:
CON +1
_______________________
Refine Level +7:
ATK +5%
_______________________
Refine Level +9:
Increases Critical Damage by 10%.
_______________________
Refine Level +11:
Increases Ranged Physical Damage by 10%.
_______________________
[Bonus by Grade]
[Grade D]: ATK +3%
[Grade C]: CON +3, ATK +3%.
[Grade B]: Ranged Physical Damage +10%.
[Grade A]: After Skill Delay -10%.
_______________________
Type: Armor
Defense: 45
Weight: 100
Armor Level: 2
_______________________
Requirement:
Base Level 210
Weapon Level 0 Identifier Barmund_Ice_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 210
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 bCon,(readparam(bDex)/25);
if (.@r>=7) {
   bonus bAtkRate,5;
   if (.@r>=9) {
      bonus bCritAtkRate,10;
      if (.@r>=11) {
         bonus bLongAtkRate,10;
      }
   }
}
if (.@g >= ENCHANTGRADE_D) {
   bonus bAtkRate,3;
   if (.@g >= ENCHANTGRADE_C) {
      bonus bAtkRate,3;
      bonus bCon,3;
      if (.@g >= ENCHANTGRADE_B) {
         bonus bLongAtkRate,10;
         if (.@g >= ENCHANTGRADE_A) {
            bonus bDelayrate,-10;
         }
      }
   }
}

Set Script
Varmundt Ice Rune Manteau
Varmundt Ice Rune Armor
Varmundt Ice Rune Boots
bonus bLongAtkRate,5;
bonus bVariableCastrate,-10;