Glorious Destruction Staff

Item ID 2002 Name Glorious Destruction Staff
A weapon that only a champion of battlefield can wield.
_______________________
MATK +210
_______________________
Increases Magical Damage against monsters of Demi-Human race by 15%.
_______________________
Ignores magical defense of enemies of Demi-Human race by 25%.
_______________________
Refine Level +6:
Pierces magical defense of Demi-Human race by additional 5%.
[Destruction] Lv 1 (Damage bonus of Destruction increases up to the Refine Level 14.)
_______________________
Refine Level +9:
Using Level 10 Lord of Vermilion, Meteor Storm or Storm Gust has a chance of casting Level 10 Safety Wall.
_______________________
Type: Two-Handed Staff
Attack: 70
Weight: 0
Weapon Level: 4
_______________________
Requirement:
Base Level 80
Magician, Acolyte Class and Soul Linker
Weapon Level 4 Identifier Krieger_Twohand_Staff1
Attack 70 Type Weapon - Two-Handed Staff
MATK 210 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 0 Equip Upper None
Weight 0 Min Equip Level 80
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 put in Cart, Can't be put in Storage, Can't be put in Guild Storage, Can't be attached in Mail, Can't be auctioned
Item Script
.@r = min(14,getrefine());
bonus bMatkRate,.@r;
bonus bUnbreakableWeapon;
if (.@r>5) {
   .@bonus1 = 5;
   .@bonus2 = (.@r-5) * 2;
}
if (.@r>8) {
   bonus5 bAutoSpellOnSkill,"WZ_STORMGUST","MG_SAFETYWALL",10,200,1;
   bonus5 bAutoSpellOnSkill,"WZ_METEOR","MG_SAFETYWALL",10,200,1;
   bonus5 bAutoSpellOnSkill,"WZ_VERMILION","MG_SAFETYWALL",10,200,1;
}
bonus2 bMagicAddRace,RC_DemiHuman,15+.@bonus2;
bonus2 bMagicAddRace,RC_Player_Human,15+.@bonus2;
bonus2 bIgnoreMdefRaceRate,RC_DemiHuman,25+.@bonus1+.@bonus2;
bonus2 bIgnoreMdefRaceRate,RC_Player_Human,25+.@bonus1+.@bonus2;