Permalink
Browse files

Core/Spells: Fix wrong target in Bloodthirst spell script. Closes #3359

  • Loading branch information...
1 parent 6e12f71 commit 32363916db420060463527670a590f941ac52019 @kandera kandera committed with Apr 24, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/server/scripts/Spells/spell_warrior.cpp
@@ -405,8 +405,7 @@ class spell_warr_bloodthirst : public SpellScriptLoader
void HandleDummy(SpellEffIndex /* effIndex */)
{
int32 damage = GetEffectValue();
- if (GetHitUnit())
- GetCaster()->CastCustomSpell(GetHitUnit(), SPELL_BLOODTHIRST, &damage, NULL, NULL, true, NULL);
+ GetCaster()->CastCustomSpell(GetCaster(), SPELL_BLOODTHIRST, &damage, NULL, NULL, true, NULL);
}
void Register()

0 comments on commit 3236391

Please sign in to comment.