Patent Chilling Cane

Item ID 550013 Name Patent Chilling Cane
A blue lighted staff said to have been used by an ancient hero.
The ancient power was inhabited and began to show its natural abilities.
It resonates with Great Hero's Boots.
_______________________
Indestructible in battle
_______________________
MATK +150
_______________________
For each 2 Refine Levels:
MATK +10
_______________________
For each 3 Refine Levels:
Increases damage of Diamond Dust by 12%.
_______________________
Refine Level +7:
Increases Magical Damage against all elemental by 15%.
Increases damage of Varetyr Spear by 15%.
_______________________
Refine Level +9:
Increases damage of Varetyr Spear by additional 20%.
Decreases Variable Casting Time by 7%.
_______________________
Refine Level +11:
Decreases Variable Casting Time by additional 8%.
Decreases Varetyr Spear skill cooldown by 2 seconds.
_______________________
When equipped with Great Hero's Boots:
INT +10, MATK +7%.
_______________________
Type: Staff
Attack: 40
Weight: 75
Weapon Level: 4
_______________________
Requirement:
Base Level 150
Sorcerer
Weapon Level 4 Identifier Up_Freezing_Rod
Attack 40 Type Weapon - Staff
MATK 195 Equip Locations Main Hand
Defense 0 Equippable Jobs Sage
Range 1 Equip Gender Both (Male and Female)
Slots 2 Equip Upper Third, Third Upper, Third Baby
Weight 75 Min Equip Level 150
NPC Buy 0 Max Equip Level None
NPC Sell 0 Refineable Yes
Credit Price None Trade restriction None
Item Script
bonus bUnbreakableWeapon;
.@r = getrefine();
bonus bMatk,.@r/2*10;
bonus2 bSkillAtk,"SO_DIAMONDDUST",.@r/3*12;
if (.@r>=7) {
   bonus2 bMagicAddEle,Ele_All,15;
   bonus2 bSkillAtk,"SO_VARETYR_SPEAR",15;
}
if (.@r>=9) {
   bonus2 bSkillAtk,"SO_VARETYR_SPEAR",20;
   bonus bVariableCastrate,-7;
}
if (.@r>=11) {
   bonus bVariableCastrate,-8;
   bonus2 bSkillCooldown,"SO_VARETYR_SPEAR",-2000;
}

Set Script
Great Hero Boots
Patent Chilling Cane
bonus bInt,10;
bonus bMatkRate,7;
Ring of Unknown Hero (Sorcerer)
Patent Chilling Cane
bonus2 bMagicAddRace,RC_All,8;
if (getequiprefinerycnt(EQI_HAND_R)>=11)
   bonus2 bSkillAtk,"SO_DIAMONDDUST",(readparam(bInt)+readparam(bDex))/12;
[Not For Sale] Ring of Unknown Hero (Sorcerer)
Patent Chilling Cane
bonus2 bMagicAddRace,RC_All,8;
if (getequiprefinerycnt(EQI_HAND_R)>=11)
   bonus2 bSkillAtk,"SO_DIAMONDDUST",(readparam(bInt)+readparam(bDex))/12;