Core/PacketIO: Fixed SMSG_SPELLNONMELEEDAMAGELOG structure
(cherry picked from commit 93e87010ed77138ccea44c16e48ddac7da5acbaa)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user