Glorious Spear

Item ID 1426 Name Glorious Spear
A weapon that only a champion of battlefield can wield.
_______________________
Increases Physical Damage against enemies of Demi-Human race by 95%.
_______________________
Ignores physical defense of Demi-Human race by 20%.
_______________________
Refine Level +6:
Ignores physical defense of Demi-Human race by additional 5%.
Increases Attack Speed (decreases After Attack Delay by 5%).
[Slaughter] Lv 1 (Damage bonus of Slaughter increases up to the Refine Level 14.)
_______________________
Refine Level +9:
When equipped by Knight classes:
Random chance to inflict Level 2 Critical Wound when using Pierce skill.

When equipped by Crusader classes:
Increases Attack Speed (decreases After Attack Delay by 5%).
Random chance to auto-cast Level 5 Pressure when dealing physical damage.
_______________________
Type: One-Handed Spear
Attack: 130
Weight: 0
Weapon Level: 4
_______________________
Requirement:
Base Level 80
Swordman classes
Weapon Level 4 Identifier Krieger_Onehand_Spear1
Attack 130 Type Weapon - One-Handed Spear
MATK 0 Equip Locations Main Hand
Defense 0 Equippable Jobs Swordman, Knight, Crusader
Range 3 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
bonus2 bAddRace,RC_DemiHuman,95;
bonus2 bAddRace,RC_Player_Human,95;
bonus2 bIgnoreDefRaceRate,RC_DemiHuman,20;
bonus2 bIgnoreDefRaceRate,RC_Player_Human,20;
bonus bUnbreakableWeapon;
.@r = getrefine();
if (.@r>5) {
   bonus2 bAddRace,RC_DemiHuman,pow(min(14,.@r)-4,2);
   bonus2 bAddRace,RC_Player_Human,pow(min(14,.@r)-4,2);
   bonus2 bIgnoreDefRaceRate,RC_DemiHuman,5;
   bonus2 bIgnoreDefRaceRate,RC_Player_Human,5;
   bonus bAspdRate,5;
}
if (.@r>8) {
   if (BaseJob == Job_Knight)
      bonus4 bAutoSpellOnSkill,"KN_PIERCE","NPC_CRITICALWOUND",2,200;
   else if (BaseJob == Job_Crusader)
      bonus3 bAutoSpell,"PA_PRESSURE",5,100;
   bonus bAspdRate,5;
}