Core/Spells: small correction to e2d592f380, don't interrupt passive auras.

This commit is contained in:
QAston
2011-08-26 14:43:19 +02:00
parent e2d592f380
commit 265c909666

View File

@@ -2926,7 +2926,7 @@ void Spell::prepare(SpellCastTargets const* targets, AuraEffect const* triggered
// for example bladestorm aura should be removed on disarm as of patch 3.3.5
// channeled periodic spells should be affected by this (arcane missiles, penance, etc)
// a possible alternative sollution for those would be validating aura target on unit state change
if (triggeredByAura && triggeredByAura->IsPeriodic())
if (triggeredByAura && triggeredByAura->IsPeriodic() && !triggeredByAura->IsPassive())
{
SendChannelUpdate(0);
triggeredByAura->GetBase()->SetDuration(0);