From 6c718a9ef7cd33a54abbac40aed39400324c6a2b Mon Sep 17 00:00:00 2001 From: p0wer Date: Sun, 20 Dec 2009 17:25:10 -0600 Subject: 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 --- src/game/SpellEffects.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src') diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index c738fcc13ef..29bc42b922e 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -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 -- cgit v1.2.3