Lich's Bone Wand

Item ID 1645 Name Lich's Bone Wand
A staff created with a skull of a powerful Lich. The curse eminating from this staff will threaten to all those who dare to threaten the wielder of this staff.
_______________________
INT +1
DEX +1
MATK +20%
_______________________
Whenever you take a Physical Damage, Random chance to inflict Curse status ailment to every enemies in the screen.
This chance is increased depending on the Refinement rate of this weapon.
_______________________
Refine Level +9:
MATK +3%
MaxSP +300
_______________________
Type: One-Handed Staff
Attack: 60
Weight: 80
Element: Undead
Weapon Level: 3
_______________________
Requirement:
Base Level 70
Transcendent Magician and Acolyte
Weapon Level 3 Identifier Lich_Bone_Wand_M
Attack 60 Type Weapon - Staff
MATK 170 Equip Locations Main Hand
Defense 0 Equippable Jobs Mage, Acolyte, Priest, Wizard, Monk, Sage
Range 1 Equip Gender Both (Male and Female)
Slots 2 Equip Upper Upper, Third, Third Upper, Third Baby
Weight 80 Min Equip Level 70
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction Can't be dropped, Can't be traded with player, Can't be sold to NPC, Can't be put in Cart, Can't be put in Guild Storage, Can't be attached in Mail, Can't be auctioned
Item Script
bonus bInt,1;
bonus bDex,1;
bonus bAtkEle,Ele_Undead;
bonus bMatkRate,20;
.@r = getrefine();
bonus3 bAutoSpellWhenHit,"NPC_WIDECURSE",5,10+.@r;
if (.@r>=9) {
   bonus bMatkRate,3;
   bonus bMaxSP,300;
}