*Fix fishing and Eagle eye.
--HG-- branch : trunk
This commit is contained in:
@@ -4673,12 +4673,17 @@ void Unit::RemoveAura(AuraMap::iterator &i, AuraRemoveMode mode)
|
|||||||
{
|
{
|
||||||
// remove auras only for non-aoe spells or when chanelled aura is removed
|
// remove auras only for non-aoe spells or when chanelled aura is removed
|
||||||
// because aoe spells don't require aura on target to continue
|
// because aoe spells don't require aura on target to continue
|
||||||
|
if (AurSpellInfo->EffectApplyAuraName[Aur->GetEffIndex()]!=SPELL_AURA_PERIODIC_DUMMY
|
||||||
|
&& AurSpellInfo->EffectApplyAuraName[Aur->GetEffIndex()]!= SPELL_AURA_DUMMY)
|
||||||
|
//don't stop channeling of scripted spells (this is actually a hack)
|
||||||
|
{
|
||||||
caster->m_currentSpells[CURRENT_CHANNELED_SPELL]->cancel(false);
|
caster->m_currentSpells[CURRENT_CHANNELED_SPELL]->cancel(false);
|
||||||
channeled = true;
|
channeled = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
sLog.outDebug("Aura %u (%u) now is remove mode %d", Aur->GetId(), Aur->GetModifier()->m_auraname, mode);
|
sLog.outDebug("Aura %u (%u) now is remove mode %d", Aur->GetId(), Aur->GetModifier()->m_auraname, mode);
|
||||||
assert(!Aur->IsInUse());
|
assert(!Aur->IsInUse());
|
||||||
|
|||||||
Reference in New Issue
Block a user