Dim Glacier Robe

Item ID 450271 Name Dim Glacier Robe
Glacier's Robe lost it's light due to being engulfed in venomous magic.
_______________________
MATK +140
_______________________
For each 2 Refine Levels:
SPL +1, CON +1
_______________________
Refine Level +7:
MATK +3%, S.MATK +2
_______________________
Refine Level +9:
Decreases After Skill Delay by 5%.
Decreases Variable Casting Time by 5%.
_______________________
Refine Level +11:
Increases Magical Damage with every element by 10%.
_______________________
When equipped with Dim Glacier Muffler and Dim Glacier Shoes:
Increases Magical Damage with every element by 5%.
Decreases Variable Casting Time by 5%.
Decreases After Skill Delay by 5%.
MATK +(Total Refine Level of entire set)*2
_______________________
When equipped with Dim Glacier Muffler, Dim Glacier Shoes and any Dim Glacier weapon:
For each 3 Refine Levels of equipped Weapon:
MATK +10

If the Weapon's Grade is C or higher:
S.MATK +6, SPL +5, CON +5

If the Weapon's Grade is B or higher:
S.MATK +5, SPL +5, CON +5

If the Weapon's Grade is A or higher:
S.MATK +4, SPL +5, CON +5

If Weapon type is a Two-Handed Sword, Two-Handed Spear, Two-Handed Staff, Two-Handed Axe, Katar, Bow, Huuma Shuriken or any Firearm class weapon:
Increases Magical Damage against monsters of every element by 20%.
_______________________
[Bonus by Grade]
[Grade D]: MATK +5%, SPL +5, CON +5.
[Grade C]: Magical Damage with every element +10%.
[Grade B]: MATK +1%
[Grade A]: MATK +2%
_______________________
Type: Armor
Defense: 145
Weight: 120
Armor Level: 2
_______________________
Requirement:
Base Level 230
Weapon Level 0 Identifier D_Glacier_Robe
Attack 0 Type Armor
MATK 0 Equip Locations Armor
Defense 145 Equippable Jobs None
Range 0 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 120 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 bMatk,140;
bonus bSpl,(.@r/2);
bonus bCon,(.@r/2);
if (.@r>=7) {
   bonus bSMatk,2;
   bonus bMatkRate,3;
   if (.@r>=9) {
      bonus bDelayrate,-5;
      bonus bVariableCastrate,-5;
      if (.@r>=11) {
         bonus2 bMagicAtkEle,Ele_All,10;
      }
   }
}
if (.@g>=ENCHANTGRADE_D) {
   bonus bMatkRate,5;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g>=ENCHANTGRADE_C) {
      bonus2 bMagicAtkEle,Ele_All,10;
      if (.@g>=ENCHANTGRADE_B) {
         bonus bMatkRate,1;
         if (.@g>=ENCHANTGRADE_A) {
            bonus bMatkRate,2;
         }
      }
   }
}

Set Script
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
.@sum = getequiprefinerycnt(EQI_ARMOR)+getequiprefinerycnt(EQI_SHOES)+getequiprefinerycnt(EQI_GARMENT);
bonus2 bMagicAtkEle,Ele_All,5;
bonus bDelayrate,-5;
bonus bVariableCastrate,-5;
bonus bMatk,2*.@sum;
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Two-handed Sword
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
         bonus2 bMagicAddEle,Ele_All,20;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Lance
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
         bonus2 bMagicAddEle,Ele_All,20;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Mechanic Axe
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
         bonus2 bMagicAddEle,Ele_All,20;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Staff
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
         bonus2 bMagicAddEle,Ele_All,20;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Katar
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
         bonus2 bMagicAddEle,Ele_All,20;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Huuma Shuriken
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
         bonus2 bMagicAddEle,Ele_All,20;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Bow
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
         bonus2 bMagicAddEle,Ele_All,20;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Pistol
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
         bonus2 bMagicAddEle,Ele_All,20;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Rifle
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
         bonus2 bMagicAddEle,Ele_All,20;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Shotgun
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
         bonus2 bMagicAddEle,Ele_All,20;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Gatling Gun
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
         bonus2 bMagicAddEle,Ele_All,20;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Grenade Launcher
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
         bonus2 bMagicAddEle,Ele_All,20;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Sword
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Basic Sword
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Rogue Knife
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Basic Knife
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Axe
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Spear
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Book
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Wand
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Foxtail
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Knuckle
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Violin
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Whip
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Mace
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
      }
   }
}
Dim Glacier Robe
Dim Glacier Shoes
Dim Glacier Muffler
Dim Glacier Mechanic Mace
.@r = getequiprefinerycnt(EQI_HAND_R);
.@g = getenchantgrade(EQI_HAND_R);
bonus bMatk,10*(.@r/3);
if (.@g >= ENCHANTGRADE_C) {
   bonus bSMatk,6;
   bonus bSpl,5;
   bonus bCon,5;
   if (.@g >= ENCHANTGRADE_B) {
      bonus bSMatk,5;
      bonus bSpl,5;
      bonus bCon,5;
      if (.@g >= ENCHANTGRADE_A) {
         bonus bSMatk,4;
         bonus bSpl,5;
         bonus bCon,5;
      }
   }
}