mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
Fix Kill Shot. Patch partially by bodompelle. Closes #357.
Adds a second copy of weapon damage to total damage. (Same as multiplying damage by 200%) Spell's aura type isn't currently implemented into core, so fix isn't permanent. --HG-- branch : trunk
This commit is contained in:
@@ -4606,6 +4606,16 @@ void Spell::SpellDamageWeaponDmg(uint32 i)
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_HUNTER:
|
||||
{
|
||||
// Kill Shot
|
||||
if(m_spellInfo->SpellFamilyFlags[1] & 0x800000)
|
||||
{
|
||||
// Increase Weapon Damage by 200% (or Weapon Damage + Weapon Damage)
|
||||
spell_bonus += m_caster->CalculateDamage(RANGED_ATTACK, false, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_DEATHKNIGHT:
|
||||
{
|
||||
// Plague Strike
|
||||
|
||||
Reference in New Issue
Block a user