mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 10:00:28 +00:00
feat(Core/Scripting): Expand ModifyHealReceived() to also include hea… (#13655)
feat(Core/Scripting): Expand ModifyHealReceived() to also include healing over time
This commit is contained in:
@@ -11183,7 +11183,7 @@ void Unit::SendHealSpellLog(Unit* victim, uint32 SpellID, uint32 Damage, uint32
|
||||
int32 Unit::HealBySpell(HealInfo& healInfo, bool critical)
|
||||
{
|
||||
uint32 heal = healInfo.GetHeal();
|
||||
sScriptMgr->ModifyHealRecieved(this, healInfo.GetTarget(), heal);
|
||||
sScriptMgr->ModifyHealReceived(this, healInfo.GetTarget(), heal, healInfo.GetSpellInfo());
|
||||
healInfo.SetHeal(heal);
|
||||
|
||||
// calculate heal absorb and reduce healing
|
||||
|
||||
Reference in New Issue
Block a user