Glacier Magic Orb (CRI)

Item ID 311344 Name Glacier Magic Orb (CRI)
For each 3 Refine Levels:
Critical +4
Increases Critical Damage by 5%.
_______________________
Refine Level +9:
Increases Critical Damage by additional 10%.
_______________________
Refine Level +11:
C.Rate +5
_______________________
When enchanted on Two-Handed Sword, Two-Handed Spear, Two-Handed Staff, Two-Handed Axe, Katar, Bow, Huuma Shuriken or any Firearm class weapon:
Increases Critical Damage by additional 10%.
Weapon Level 0 Identifier Glacier_F_Orb_152
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
.@r = getrefine();
bonus bCritical,4*(.@r/3);
bonus bCritAtkRate,5*(.@r/3);
if (.@r>=9) {
  bonus bCritAtkRate,10;
  if (.@r>=11 ) {
    bonus bCRate,5;
    .@i = getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_VIEW);
    if (.@i == W_2HSWORD || .@i == W_2HSPEAR || .@i == W_2HSTAFF || .@i == W_2HAXE || .@i == W_KATAR || .@i == W_BOW || .@i == W_HUUMA || .@i == W_REVOLVER || .@i == W_RIFLE || .@i == W_GATLING || .@i == W_SHOTGUN || .@i == W_GRENADE) {
      bonus bCritAtkRate,10;
    }
  }
}