*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
This commit is contained in:
Liberate
2010-06-02 20:26:46 +02:00
parent b7471f800c
commit 5981aa5495
+1 -1
View File
@@ -1349,7 +1349,7 @@ SpellMissInfo Spell::DoSpellHitOnUnit(Unit *unit, const uint32 effectMask, bool
if (IsChanneledSpell(m_spellInfo)) if (IsChanneledSpell(m_spellInfo))
m_originalCaster->ModSpellCastTime(aurSpellInfo, duration, this); m_originalCaster->ModSpellCastTime(aurSpellInfo, duration, this);
if (duration == 0) if (duration == 0 && !positive)
{ {
m_spellAura->Remove(); m_spellAura->Remove();
return SPELL_MISS_IMMUNE; return SPELL_MISS_IMMUNE;