Skip to content

Commit

Permalink
restored accidently deleted code
Browse files Browse the repository at this point in the history
  • Loading branch information
CarnifexOptimus committed Nov 28, 2024
1 parent a2da2fa commit b1195b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion BossMod/AI/AIBehaviour.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ public async Task Execute(Actor player, Actor master)
var masterIsMoving = TrackMasterMovement(master);
var moveWithMaster = masterIsMoving && (master == player || _followMaster);
ForceMovementIn = moveWithMaster || gazeImminent || pyreticImminent ? 0 : _naviDecision.LeewaySeconds;

if (!forbidActions)
{
autorot.Preset = target.Target != null ? AIPreset : null;
}
UpdateMovement(player, master, target, gazeImminent || pyreticImminent, misdirectionMode ? autorot.Hints.MisdirectionThreshold : default, !forbidActions ? autorot.Hints.ActionsToExecute : null);
}

Expand Down

0 comments on commit b1195b8

Please sign in to comment.