fix(Core/SAI): Force SMC creatures to resume chasing victims once in… (#22581)
This commit is contained in:
parent
743b6e7cd9
commit
5369aec3c9
4 changed files with 21 additions and 2 deletions
|
|
@ -742,6 +742,8 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
|
|||
|
||||
if (e.action.cast.castFlags & SMARTCAST_COMBAT_MOVE)
|
||||
{
|
||||
CAST_AI(SmartAI, me->AI())->SetChaseOnInterrupt(true);
|
||||
|
||||
if (!me->isMoving()) // Don't try to reposition while we are moving
|
||||
{
|
||||
// If cast flag SMARTCAST_COMBAT_MOVE is set combat movement will not be allowed unless target is outside spell range, out of mana, or LOS.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue