mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[8530] Correctly restore powers with energize-effect spells like Shadowfiend or Mana Tide Totem
Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
parent
d937b18dbe
commit
a2d1781ba8
2 changed files with 2 additions and 2 deletions
|
|
@ -8075,7 +8075,7 @@ void Unit::EnergizeBySpell(Unit *pVictim, uint32 SpellID, uint32 Damage, Powers
|
|||
{
|
||||
SendEnergizeSpellLog(pVictim, SpellID, Damage, powertype);
|
||||
// needs to be called after sending spell log
|
||||
ModifyPower(powertype, Damage);
|
||||
pVictim->ModifyPower(powertype, Damage);
|
||||
}
|
||||
|
||||
uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint32 pdamage, DamageEffectType damagetype, uint32 stack)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue