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:
@@ -1527,7 +1527,7 @@ namespace Game.Entities
|
|||||||
int overEnergize = damage - gain;
|
int overEnergize = damage - gain;
|
||||||
|
|
||||||
victim.GetThreatManager().ForwardThreatForAssistingMe(this, damage / 2, spellInfo, true);
|
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)
|
public void ApplySpellImmune(uint spellId, SpellImmunity op, SpellSchoolMask type, bool apply)
|
||||||
|
|||||||
Reference in New Issue
Block a user