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:
p0wer
2009-12-20 17:25:10 -06:00
parent 8a560ca408
commit 6c718a9ef7

View File

@@ -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