*Calculate spell damage bonus when spell is casted rather than when spell hits target.
--HG-- branch : trunk
This commit is contained in:
@@ -5875,7 +5875,8 @@ void Aura::PeriodicTick()
|
||||
SpellEntry const* spellProto = GetSpellProto();
|
||||
//maybe has to be sent different to client, but not by SMSG_PERIODICAURALOG
|
||||
SpellNonMeleeDamage damageInfo(pCaster, m_target, spellProto->Id, spellProto->SchoolMask);
|
||||
pCaster->CalculateSpellDamage(&damageInfo, gain, spellProto);
|
||||
//no SpellDamageBonus for burn mana
|
||||
pCaster->CalculateSpellDamageTaken(&damageInfo, gain, spellProto);
|
||||
pCaster->SendSpellNonMeleeDamageLog(&damageInfo);
|
||||
|
||||
// Set trigger flag
|
||||
|
||||
Reference in New Issue
Block a user