Core/PacketIO: Fixed SMSG_SPELLNONMELEEDAMAGELOG structure

(cherry picked from commit 93e87010ed)
This commit is contained in:
Shauren
2018-09-09 16:08:49 +02:00
parent 35e5383929
commit 4e294f54e4

View File

@@ -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);