Core/Spells: Fix wrong target in Bloodthirst spell script. Closes #3359
This commit is contained in:
@@ -397,8 +397,7 @@ class spell_warr_bloodthirst : public SpellScriptLoader
|
|||||||
void HandleDummy(SpellEffIndex /* effIndex */)
|
void HandleDummy(SpellEffIndex /* effIndex */)
|
||||||
{
|
{
|
||||||
int32 damage = GetEffectValue();
|
int32 damage = GetEffectValue();
|
||||||
if (GetHitUnit())
|
GetCaster()->CastCustomSpell(GetCaster(), SPELL_BLOODTHIRST, &damage, NULL, NULL, true, NULL);
|
||||||
GetCaster()->CastCustomSpell(GetHitUnit(), SPELL_BLOODTHIRST, &damage, NULL, NULL, true, NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Register()
|
void Register()
|
||||||
|
|||||||
Reference in New Issue
Block a user