From 7ff552a3230799301157ebf72568a686e0615141 Mon Sep 17 00:00:00 2001 From: Andrew Gilewsky Date: Mon, 15 Jul 2024 09:35:27 +0100 Subject: [PATCH] Bugfixes. --- BossMod/AI/AIController.cs | 3 ++- BossMod/Autorotation/Utility/ClassBRDUtility.cs | 2 +- BossMod/Autorotation/Utility/ClassDNCUtility.cs | 2 +- BossMod/Autorotation/Utility/ClassDRGUtility.cs | 2 +- BossMod/Autorotation/Utility/ClassGNBUtility.cs | 2 +- BossMod/Autorotation/Utility/ClassMNKUtility.cs | 2 +- BossMod/Autorotation/Utility/ClassRPRUtility.cs | 2 +- BossMod/Autorotation/Utility/ClassSAMUtility.cs | 2 +- BossMod/Autorotation/Utility/ClassWARUtility.cs | 2 +- 9 files changed, 10 insertions(+), 9 deletions(-) diff --git a/BossMod/AI/AIController.cs b/BossMod/AI/AIController.cs index 1c7d08ada..43db251c9 100644 --- a/BossMod/AI/AIController.cs +++ b/BossMod/AI/AIController.cs @@ -144,8 +144,9 @@ public void Update(Actor? player) else { _amex.InputOverride.GamepadOverridesEnabled = false; - _amex.ForceCancelCastNextFrame |= ForceCancelCast && castInProgress; + _axisForward.CurDirection = 0; _keyJump.Held = false; + _amex.ForceCancelCastNextFrame |= ForceCancelCast && castInProgress; } if (NaviTargetVertical != null && IsVerticalAllowed && NaviTargetPos != null) diff --git a/BossMod/Autorotation/Utility/ClassBRDUtility.cs b/BossMod/Autorotation/Utility/ClassBRDUtility.cs index c28ec2c84..c3da0a0e6 100644 --- a/BossMod/Autorotation/Utility/ClassBRDUtility.cs +++ b/BossMod/Autorotation/Utility/ClassBRDUtility.cs @@ -8,7 +8,7 @@ public enum Track { WardensPaean = SharedTrack.Count, Troubadour, NaturesMinne } public static RotationModuleDefinition Definition() { - var res = new RotationModuleDefinition("Utility: BRD", "Planner support for utility actions", "veyn", RotationModuleQuality.WIP, BitMask.Build((int)Class.BRD), 90); + var res = new RotationModuleDefinition("Utility: BRD", "Planner support for utility actions", "veyn", RotationModuleQuality.WIP, BitMask.Build((int)Class.BRD), 100); DefineShared(res, IDLimitBreak3); // TODO: repelling shot (not sure how it can be planned really...) diff --git a/BossMod/Autorotation/Utility/ClassDNCUtility.cs b/BossMod/Autorotation/Utility/ClassDNCUtility.cs index 19aa013e3..74f52b86e 100644 --- a/BossMod/Autorotation/Utility/ClassDNCUtility.cs +++ b/BossMod/Autorotation/Utility/ClassDNCUtility.cs @@ -8,7 +8,7 @@ public enum Track { CuringWaltz = SharedTrack.Count, ShieldSamba, Improvisation public static RotationModuleDefinition Definition() { - var res = new RotationModuleDefinition("Utility: DNC", "Planner support for utility actions", "xan", RotationModuleQuality.WIP, BitMask.Build((int)Class.DNC), 90); + var res = new RotationModuleDefinition("Utility: DNC", "Planner support for utility actions", "xan", RotationModuleQuality.WIP, BitMask.Build((int)Class.DNC), 100); DefineShared(res, IDLimitBreak3); // TODO: en avant (not sure how it can be planned really...) diff --git a/BossMod/Autorotation/Utility/ClassDRGUtility.cs b/BossMod/Autorotation/Utility/ClassDRGUtility.cs index c14a0cd7a..770c8d18f 100644 --- a/BossMod/Autorotation/Utility/ClassDRGUtility.cs +++ b/BossMod/Autorotation/Utility/ClassDRGUtility.cs @@ -8,7 +8,7 @@ public sealed class ClassDRGUtility(RotationModuleManager manager, Actor player) public static RotationModuleDefinition Definition() { - var res = new RotationModuleDefinition("Utility: DRG", "Planner support for utility actions", "veyn", RotationModuleQuality.WIP, BitMask.Build((int)Class.DRG), 90); + var res = new RotationModuleDefinition("Utility: DRG", "Planner support for utility actions", "veyn", RotationModuleQuality.WIP, BitMask.Build((int)Class.DRG), 100); DefineShared(res, IDLimitBreak3); // TODO: elusive jump (not sure how it can be planned really...) diff --git a/BossMod/Autorotation/Utility/ClassGNBUtility.cs b/BossMod/Autorotation/Utility/ClassGNBUtility.cs index cc4ca06c0..9ddcd4da3 100644 --- a/BossMod/Autorotation/Utility/ClassGNBUtility.cs +++ b/BossMod/Autorotation/Utility/ClassGNBUtility.cs @@ -9,7 +9,7 @@ public enum HoCOption { None, HeartOfStone, HeartOfCorundum } public static RotationModuleDefinition Definition() { - var res = new RotationModuleDefinition("Utility: GNB", "Planner support for utility actions", "LazyLemo, Akechi-kun", RotationModuleQuality.WIP, BitMask.Build((int)Class.GNB), 90); + var res = new RotationModuleDefinition("Utility: GNB", "Planner support for utility actions", "LazyLemo, Akechi-kun", RotationModuleQuality.WIP, BitMask.Build((int)Class.GNB), 100); DefineShared(res, IDLimitBreak3); DefineSimpleConfig(res, Track.Camouflage, "Camouflage", "Camoufl", 450, GNB.AID.Camouflage, 20); diff --git a/BossMod/Autorotation/Utility/ClassMNKUtility.cs b/BossMod/Autorotation/Utility/ClassMNKUtility.cs index 0cab10af5..3385755f0 100644 --- a/BossMod/Autorotation/Utility/ClassMNKUtility.cs +++ b/BossMod/Autorotation/Utility/ClassMNKUtility.cs @@ -8,7 +8,7 @@ public enum Track { Mantra = SharedTrack.Count, RiddleOfEarth } public static RotationModuleDefinition Definition() { - var res = new RotationModuleDefinition("Utility: MNK", "Planner support for utility actions", "xan", RotationModuleQuality.WIP, BitMask.Build((int)Class.MNK), 90); + var res = new RotationModuleDefinition("Utility: MNK", "Planner support for utility actions", "xan", RotationModuleQuality.WIP, BitMask.Build((int)Class.MNK), 100); DefineShared(res, IDLimitBreak3); DefineSimpleConfig(res, Track.Mantra, "Mantra", "", 100, MNK.AID.Mantra, 15); diff --git a/BossMod/Autorotation/Utility/ClassRPRUtility.cs b/BossMod/Autorotation/Utility/ClassRPRUtility.cs index ceb6b8ad5..aeeaf2a4e 100644 --- a/BossMod/Autorotation/Utility/ClassRPRUtility.cs +++ b/BossMod/Autorotation/Utility/ClassRPRUtility.cs @@ -8,7 +8,7 @@ public enum Track { ArcaneCrest = SharedTrack.Count } public static RotationModuleDefinition Definition() { - var res = new RotationModuleDefinition("Utility: RPR", "Planner support for utility actions", "lazylemo", RotationModuleQuality.WIP, BitMask.Build((int)Class.RPR), 90); + var res = new RotationModuleDefinition("Utility: RPR", "Planner support for utility actions", "lazylemo", RotationModuleQuality.WIP, BitMask.Build((int)Class.RPR), 100); DefineShared(res, IDLimitBreak3); DefineSimpleConfig(res, Track.ArcaneCrest, "ArcaneCrest", "", 600, RPR.AID.ArcaneCrest, 5); diff --git a/BossMod/Autorotation/Utility/ClassSAMUtility.cs b/BossMod/Autorotation/Utility/ClassSAMUtility.cs index c91a3df91..836ea5f45 100644 --- a/BossMod/Autorotation/Utility/ClassSAMUtility.cs +++ b/BossMod/Autorotation/Utility/ClassSAMUtility.cs @@ -8,7 +8,7 @@ public enum Track { ThirdEye = SharedTrack.Count } public static RotationModuleDefinition Definition() { - var res = new RotationModuleDefinition("Utility: SAM", "Planner support for utility actions", "xan", RotationModuleQuality.WIP, BitMask.Build((int)Class.SAM), 90); + var res = new RotationModuleDefinition("Utility: SAM", "Planner support for utility actions", "xan", RotationModuleQuality.WIP, BitMask.Build((int)Class.SAM), 100); DefineShared(res, IDLimitBreak3); DefineSimpleConfig(res, Track.ThirdEye, "ThirdEye", "", 600, SAM.AID.ThirdEye, 4); diff --git a/BossMod/Autorotation/Utility/ClassWARUtility.cs b/BossMod/Autorotation/Utility/ClassWARUtility.cs index eb25775c1..37741bc16 100644 --- a/BossMod/Autorotation/Utility/ClassWARUtility.cs +++ b/BossMod/Autorotation/Utility/ClassWARUtility.cs @@ -10,7 +10,7 @@ public enum BWOption { None, Bloodwhetting, RawIntuition, NascentFlash } public static RotationModuleDefinition Definition() { - var res = new RotationModuleDefinition("Utility: WAR", "Planner support for utility actions", "veyn", RotationModuleQuality.WIP, BitMask.Build((int)Class.WAR), 90); + var res = new RotationModuleDefinition("Utility: WAR", "Planner support for utility actions", "veyn", RotationModuleQuality.WIP, BitMask.Build((int)Class.WAR), 100); DefineShared(res, IDLimitBreak3); DefineSimpleConfig(res, Track.Thrill, "ThrillOfBattle", "Thrill", 450, WAR.AID.ThrillOfBattle, 10);