Spell facing follow-up: Fix an issue with creatures' channeled spells not cancelling properly in certain conditions

(cherry picked from commit 17f924a031e5ebbbc07a54acd61e738bf234867a)
This commit is contained in:
treeston
2016-03-29 20:08:01 +02:00
committed by Shauren
parent 5f06f9ad60
commit d9c99acebb
@@ -2664,7 +2664,7 @@ bool Creature::FocusTarget(Spell const* focusSpell, WorldObject const* target)
}
}
if (shouldDelay)
shouldDelay = (!focusSpell->IsTriggered() && !focusSpell->GetCastTime());
shouldDelay = !(focusSpell->IsTriggered() || focusSpell->GetCastTime() || focusSpell->GetSpellInfo()->IsChanneled());
}
}