diff options
author | Liberate <none@none> | 2010-06-02 20:26:46 +0200 |
---|---|---|
committer | Liberate <none@none> | 2010-06-02 20:26:46 +0200 |
commit | 5981aa5495494da28a4175c70049b6f86d061a4d (patch) | |
tree | 4102b3f71c93f2d0b0292eb3d795a468bd2c4bd9 | |
parent | b7471f800cc2ff315c4794c72c4e90edff2c3069 (diff) |
*Fix: Only don't apply aura's with 0 sec duration (because of diminishing return for example) if the aura is not positive.
--HG--
branch : trunk
-rw-r--r-- | src/game/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 11c77b8bc69..303cfc5ffc7 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1349,7 +1349,7 @@ SpellMissInfo Spell::DoSpellHitOnUnit(Unit *unit, const uint32 effectMask, bool if (IsChanneledSpell(m_spellInfo)) m_originalCaster->ModSpellCastTime(aurSpellInfo, duration, this); - if (duration == 0) + if (duration == 0 && !positive) { m_spellAura->Remove(); return SPELL_MISS_IMMUNE; |