diff options
| author | megamage <none@none> | 2008-11-08 11:26:44 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2008-11-08 11:26:44 -0600 |
| commit | bc0164355f6db1fc1b6dae997b01b19f0349f156 (patch) | |
| tree | 0ccd846277b3d3595ca6e1ac754885a8fb8d6dce /src/game/SpellEffects.cpp | |
| parent | 4f59e96806a65ad759c51876370802b5497cd6c7 (diff) | |
[svn] Fix: DOT and HOT only proc effects when hit, but not on every tick (I know there is a proc flag patch, but this is a very quick fix).
Change the structure of customattrmap. Use bit flag instead of uint32 for every attribute.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
| -rw-r--r-- | src/game/SpellEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 01fcbd87d45..2a3823118cb 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -311,7 +311,7 @@ void Spell::EffectSchoolDMG(uint32 effect_idx) } // Meteor like spells (divided damage to targets) - if(spellmgr.GetSpellExtraAttr(m_spellInfo->Id, SPELL_EXTRA_ATTR_SHARE_DAMAGE)) + if(spellmgr.GetSpellCustomAttr(m_spellInfo->Id) & SPELL_ATTR_CU_SHARE_DAMAGE) { uint32 count = 0; for(std::list<TargetInfo>::iterator ihit= m_UniqueTargetInfo.begin();ihit != m_UniqueTargetInfo.end();++ihit) |
