Scripts/Spells: Fixed a console error inspell_dru_lifebloom

Closes #23192
This commit is contained in:
Keader
2019-04-21 11:01:59 -03:00
parent f9b1e4a032
commit 961bc9d829

View File

@@ -1049,7 +1049,7 @@ class spell_dru_lifebloom : public SpellScriptLoader
CastSpellExtraArgs args(aurEff);
args.OriginalCaster = GetCasterGUID();
args.AddSpellBP0(healAmount);
target->CastSpell(GetTarget(), SPELL_DRUID_LIFEBLOOM_FINAL_HEAL, args);
target->CastSpell(target, SPELL_DRUID_LIFEBLOOM_FINAL_HEAL, args);
}
void AfterRemove(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/)
@@ -1059,7 +1059,7 @@ class spell_dru_lifebloom : public SpellScriptLoader
return;
// final heal
OnRemoveEffect(GetTarget(), aurEff, GetStackAmount());
OnRemoveEffect(GetUnitOwner(), aurEff, GetStackAmount());
}
void HandleDispel(DispelInfo* dispelInfo)