*Calculate Damage Done only when needed.
--HG-- branch : trunk
This commit is contained in:
1 parent
1595554e58
commit
19306959e4
5 files changed
+25
-10
No files matched your search
@@ -319,7 +319,7 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
|
||||
}
|
||||
|
||||
// Meteor like spells (divided damage to targets)
|
||||
if(spellmgr.GetSpellCustomAttr(m_spellInfo->Id) & SPELL_ATTR_CU_SHARE_DAMAGE)
|
||||
if(m_customAttr & SPELL_ATTR_CU_SHARE_DAMAGE)
|
||||
{
|
||||
uint32 count = 0;
|
||||
for(std::list<TargetInfo>::iterator ihit= m_UniqueTargetInfo.begin();ihit != m_UniqueTargetInfo.end();++ihit)
|
||||
|
||||
Reference in new issue
Block a user