Core/Spells: Send actual power gain amount in spell energize log

Port From (https://github.com/TrinityCore/TrinityCore/commit/b511fac643f4192d5f748192bf711b64a9a2363d)
This commit is contained in:
hondacrx
2021-05-17 14:05:59 -04:00
parent 861f0575de
commit 4872dcb649
+1 -1
View File
@@ -1527,7 +1527,7 @@ namespace Game.Entities
int overEnergize = damage - gain;
victim.GetThreatManager().ForwardThreatForAssistingMe(this, damage / 2, spellInfo, true);
SendEnergizeSpellLog(victim, spellInfo.Id, damage, overEnergize, powerType);
SendEnergizeSpellLog(victim, spellInfo.Id, gain, overEnergize, powerType);
}
public void ApplySpellImmune(uint spellId, SpellImmunity op, SpellSchoolMask type, bool apply)