Core/PacketIO: Fixed SMSG_SPELLNONMELEEDAMAGELOG structure

(cherry picked from commit 93e87010ed77138ccea44c16e48ddac7da5acbaa)
This commit is contained in:
Shauren
2021-10-26 23:54:31 +02:00
parent 35e5383929
commit 4e294f54e4
@@ -5641,6 +5641,7 @@ void AuraEffect::HandlePeriodicPowerBurnAuraTick(Unit* target, Unit* caster) con
SpellInfo const* spellProto = GetSpellInfo();
// maybe has to be sent different to client, but not by SMSG_PERIODICAURALOG
SpellNonMeleeDamage damageInfo(caster, target, spellProto, GetBase()->GetSpellVisual(), spellProto->SchoolMask, GetBase()->GetCastId());
damageInfo.periodicLog = true;
// no SpellDamageBonus for burn mana
caster->CalculateSpellDamageTaken(&damageInfo, int32(gain * dmgMultiplier), spellProto);