mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
Scripts/Spells: Fixed a console error inspell_dru_lifebloom
Closes #23192
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user