Spell facing follow-up: Fix an issue with creatures' channeled spells not cancelling properly in certain conditions
This commit is contained in:
1 parent
7f5805f308
commit
17f924a031
1 file changed
+1
-1
@@ -2739,7 +2739,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());
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user