Core/Units: No longer send PowerUpdate packets when gaining power via energize spell effects

Port From (https://github.com/TrinityCore/TrinityCore/commit/a0a4d23fed58880c5ad1ebf4216d15d957035b65)
This commit is contained in:
hondacrx
2021-05-13 20:37:31 -04:00
parent 1509cdfded
commit cb06e572f3
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1523,7 +1523,7 @@ namespace Game.Entities
void EnergizeBySpell(Unit victim, SpellInfo spellInfo, int damage, PowerType powerType)
{
int gain = victim.ModifyPower(powerType, damage);
int gain = victim.ModifyPower(powerType, damage, false);
int overEnergize = damage - gain;
victim.GetThreatManager().ForwardThreatForAssistingMe(this, damage / 2, spellInfo, true);