mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10010] Use schoolmask enum in struct SpellNonMeleeDamage, some indents fix.
This commit is contained in:
parent
b23fd66aa6
commit
59cf9c1dbd
5 changed files with 52 additions and 52 deletions
|
|
@ -7562,7 +7562,7 @@ 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);
|
||||
SpellNonMeleeDamage damageInfo(pCaster, m_target, spellProto->Id, SpellSchoolMask(spellProto->SchoolMask));
|
||||
pCaster->CalculateSpellDamage(&damageInfo, gain, spellProto);
|
||||
|
||||
damageInfo.target->CalculateAbsorbResistBlock(pCaster, &damageInfo, spellProto);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue