Glorious Lance

Item ID 1486 Name Glorious Lance
A weapon that only a champion of battlefield can wield.
_______________________
Increases Physical Damage against enemies of Demi-Human race by 70%.
_______________________
Ignores physical defense of Demi-Human race by 25%.
_______________________
Refine Level +6:
Ignores physical defense of Demi-Human race by additional 5%.
Slaughter Lv 1 (Damage bonus of Slaughter increases up to the Refine Level 14.)
_______________________
Refine Level +9:
When equipped by Crusader classes:
Random chance to auto-cast Level 5 Pressure when dealing physical damage.

When equipped by Knight classes:
Random chance to inflict Level 2 Critical Wound when using Pierce skill.
_______________________
Type: Two-Handed Spear
Attack: 220
Weight: 0
Weapon Level: 4
_______________________
Requirement:
Base Level 80
Swordman classes
Weapon Level 4 Identifier Krieger_Twohand_Spear1
Attack 220 Type Weapon - Two-Handed Spear
MATK 0 Equip Locations Two-Handed
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,70;
bonus2 bAddRace,RC_Player_Human,70;
bonus2 bIgnoreDefRaceRate,RC_DemiHuman,25;
bonus2 bIgnoreDefRaceRate,RC_Player_Human,25;
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;
}
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,200;
}