Upgrade Staff

Item ID 2015 Name Upgrade Staff
Staff that is coated by Oridecon and Gold with perfect Level.
_______________________
MATK +70
_______________________
When equipped by Wizard classes:
MATK +30
_______________________
When equipped by Sage classes:
MATK +20
_______________________
For each Refine Level:
MATK +10
Increases Healing skills effectiveness by 1%.
_______________________
For each 10 Base Level above 70:
MATK +10
_______________________
Type: Two-Handed Staff
Attack: 50
Weight: 100
Weapon Level: 3
Enchantable: Yes
_______________________
Requirement:
Magician, Acolyte and Soul Linker
Weapon Level 3 Identifier Upg_Staff
Attack 50 Type Weapon - Two-Handed Staff
MATK 70 Equip Locations Two-Handed
Defense 0 Equippable Jobs Mage, Acolyte, Priest, Wizard, Monk, Sage, Soul Linker
Range 1 Equip Gender Both (Male and Female)
Slots 1 Equip Upper None
Weight 100 Min Equip Level 1
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction Can't be dropped
Item Script
.@r = getrefine();
bonus bMatk,(.@r*10);
bonus bHealPower,.@r;
if (BaseJob == Job_Wizard)
   bonus bMatk,30;
else if (BaseJob == Job_Sage)
   bonus bMatk,20;
if (BaseLevel>70)
   bonus bMatk,(((BaseLevel-70)/10)*10);