Core/PacketIO: Fixed SMSG_SPELLNONMELEEDAMAGELOG structure

Port From (https://github.com/TrinityCore/TrinityCore/commit/4e294f54e400816905e9748b0cd3186d2e6d8642)
This commit is contained in:
hondacrx
2021-11-03 11:53:05 -04:00
parent 02ad0a2284
commit daa72123a2
+1
View File
@@ -5363,6 +5363,7 @@ namespace Game.Spells
SpellInfo spellProto = GetSpellInfo();
// maybe has to be sent different to client, but not by SMSG_PERIODICAURALOG
SpellNonMeleeDamage damageInfo = new(caster, target, spellProto, GetBase().GetSpellVisual(), spellProto.SchoolMask, GetBase().GetCastId());
damageInfo.periodicLog = true;
// no SpellDamageBonus for burn mana
caster.CalculateSpellDamageTaken(damageInfo, (int)(gain * dmgMultiplier), spellProto);