From 48fa6821ac1f05937dfcdbb1bcd130afed046084 Mon Sep 17 00:00:00 2001 From: xanunderscore <149614526+xanunderscore@users.noreply.github.com> Date: Thu, 11 Jul 2024 23:28:41 -0400 Subject: [PATCH] reset camera after gaze --- BossMod/AI/AIBehaviour.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BossMod/AI/AIBehaviour.cs b/BossMod/AI/AIBehaviour.cs index 3ccd43ec60..7f1cc5b924 100644 --- a/BossMod/AI/AIBehaviour.cs +++ b/BossMod/AI/AIBehaviour.cs @@ -180,7 +180,7 @@ private void UpdateMovement(Actor player, Actor master, Targeting target, Action var toDest = _naviDecision.Destination != null ? _naviDecision.Destination.Value - player.Position : new(); var distSq = toDest.LengthSq(); ctrl.NaviTargetPos = _naviDecision.Destination; - //_ctrl.NaviTargetRot = distSq >= 0.01f ? toDest.Normalized() : null; + ctrl.NaviTargetRot = null; ctrl.NaviTargetVertical = master != player ? master.PosRot.Y : null; ctrl.AllowInterruptingCastByMovement = player.CastInfo != null && _naviDecision.LeewaySeconds <= (player.CastInfo.FinishAt - WorldState.CurrentTime).TotalSeconds - 0.5; ctrl.ForceCancelCast = player.CastInfo != null && TargetIsForbidden(player.CastInfo.TargetID);