*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:
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user