mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-01 14:46:54 +01:00
Spell facing follow-up: Fix an issue with creatures' channeled spells not cancelling properly in certain conditions
This commit is contained in:
@@ -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