Patent Shadow Staff

Item ID 550012 Name Patent Shadow Staff
An old cane used by Ancient Heroes.
The ancient power was inhabited and began to show its natural abilities.
It looks old but has hidden magic, it resonates with Great Hero's Boots.
_______________________
Indestructible in battle
_______________________
MATK +195
_______________________
For each 2 Refine Levels:
MATK +15
_______________________
For each 3 Refine Levels:
Increases damage of Earth Grave by 12%.
_______________________
Refine Level +7:
Increases Magical Damage with Earth and Neutral element by 15%.
_______________________
Refine Level +9:
Increases damage of Psychic Wave by 25%
Decreases Variable Casting Time by 7%.
_______________________
Refine Level +11:
Decreases Variable Casting Time by additional 8%.
Decreases Psychic Wave skill cooldown by 1 second.
_______________________
When equipped with Great Hero's Boots:
INT +10, MATK +7%.
_______________________
Type: One-Handed Staff
Attack: 40
Weight: 75
Weapon Level: 4
_______________________
Requirement:
Base Level 150
Sorcerer
Weapon Level 4 Identifier Up_Shadow_Staff_K
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 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
bonus bUnbreakableWeapon;
.@r = getrefine();
bonus bMatk,.@r/2*15;
bonus2 bSkillAtk,"SO_EARTHGRAVE",12*(.@r/3);
if (.@r>=7) {
   bonus2 bMagicAtkEle,Ele_Earth,15;
   bonus2 bMagicAtkEle,Ele_Neutral,15;
}
if (.@r>=9) {
   bonus2 bSkillAtk,"SO_PSYCHIC_WAVE",25;
   bonus bVariableCastrate,-7;
}
if (.@r>=11) {
   bonus bVariableCastrate,-8;
   bonus2 bSkillCooldown,"SO_PSYCHIC_WAVE",-1000;
}

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