Piercing Staff

Item ID 1665 Name Piercing Staff
A staff with a jewel in it that causes shockwave every once in a while. The shockwave sometimes nullifies enemy's magic defense.
_______________________
INT +4
MATK +15%
_______________________
Ignores magical defense of enemies by 10%.
The amount pierced magical defense will increase depending on the Refine Level.
_______________________
Type: One-Handed Staff
Attack: 80
Weight: 50
Weapon Level: 3
_______________________
Requirement:
Base Level 70
Transcendent Magician and Acolyte
Weapon Level 3 Identifier Piercing_Staff_
Attack 80 Type Weapon - Staff
MATK 145 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 50 Min Equip Level 70
NPC Buy 20 Max Equip Level None
NPC Sell 10 Refineable Yes
Credit Price None Trade restriction None
Item Script
.@r = getrefine();
bonus bInt,4;
bonus2 bIgnoreMdefClassRate,Class_Normal,10+.@r;
bonus2 bIgnoreMdefClassRate,Class_Boss,10+.@r;

Set Script
Magical Booster
Piercing Staff
.@r = getequiprefinerycnt(EQI_HAND_R);
.@matk = 15*.@r;
if (.@r >= 10) {
   .@matk += 50;
   bonus bVariableCastrate,-10;
}
bonus bMatk,.@matk;