Skip to content

Commit

Permalink
Added the effect to the shovel instakill. NO 4.0.6 is not dead. Just …
Browse files Browse the repository at this point in the history
…been busy with stuff.

Patch by pelf.

Signed-off-by: SkyFire <admin@projectskyfire.org>
  • Loading branch information
SkyFire committed Sep 20, 2012
1 parent 605f4ce commit 5570937
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/server/game/Spells/SpellEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,10 @@ void Spell::EffectInstaKill(SpellEffIndex /*effIndex*/)
if (effectHandleMode != SPELL_EFFECT_HANDLE_HIT_TARGET)
return;

if (m_spellInfo->Id == 89089)
if (unitTarget->GetEntry() != 47872)
return;

if (!unitTarget || !unitTarget->isAlive())
return;

Expand Down

0 comments on commit 5570937

Please sign in to comment.