diff --git a/Resources/AnimationLockTime.json b/Resources/AnimationLockTime.json index 3307c5279..88f203582 100644 --- a/Resources/AnimationLockTime.json +++ b/Resources/AnimationLockTime.json @@ -1,9 +1,13 @@ { "9": 0.6, "15": 0.6, + "16": 0.6, + "17": 0.6, "20": 0.6, + "22": 0.6, "23": 0.6, "24": 0.6, + "28": 0.6, "31": 0.6, "37": 0.6, "40": 0.6, @@ -135,6 +139,7 @@ "4639": 0.6, "4868": 2.1, "6993": 2.1, + "7381": 0.6, "7383": 0.6, "7384": 0.1, "7386": 0.6, @@ -255,6 +260,8 @@ "16163": 0.6, "16164": 0.6, "16165": 0.6, + "16457": 0.6, + "16458": 0.6, "16459": 0.6, "16461": 0.6, "16462": 0.6, diff --git a/RotationSolver.Basic/Helpers/ObjectHelper.cs b/RotationSolver.Basic/Helpers/ObjectHelper.cs index 8c68317fe..9f2773961 100644 --- a/RotationSolver.Basic/Helpers/ObjectHelper.cs +++ b/RotationSolver.Basic/Helpers/ObjectHelper.cs @@ -40,7 +40,7 @@ public static unsafe bool IsOthersPlayers(this GameObject obj) } public static unsafe bool IsNPCEnemy(this GameObject obj) - => obj.GetObjectKind() == ObjectKind.BattleNpc + => obj != null && obj.GetObjectKind() == ObjectKind.BattleNpc && ActionManager.CanUseActionOnTarget((uint)ActionID.Blizzard, obj.GetAddress()); diff --git a/RotationSolver.Basic/Rotations/Basic/BLM_Base.cs b/RotationSolver.Basic/Rotations/Basic/BLM_Base.cs index 98ef95c21..ba2e38ea1 100644 --- a/RotationSolver.Basic/Rotations/Basic/BLM_Base.cs +++ b/RotationSolver.Basic/Rotations/Basic/BLM_Base.cs @@ -160,7 +160,7 @@ public override bool CanUse(out IAction act, CanUseOption option = CanUseOption. #endregion #region Support - public static IBaseAction AetherialManipulation { get; } = new BaseAction(ActionID.AetherialManipulation, ActionOption.Friendly) + public static IBaseAction AetherialManipulation { get; } = new BaseAction(ActionID.AetherialManipulation, ActionOption.Friendly | ActionOption.EndSpecial) { ChoiceTarget = TargetFilter.FindTargetForMoving, }; diff --git a/RotationSolver/Localization/Localization.json b/RotationSolver/Localization/Localization.json index 33cad2429..be20a5187 100644 --- a/RotationSolver/Localization/Localization.json +++ b/RotationSolver/Localization/Localization.json @@ -47,6 +47,8 @@ "ConfigWindow_Events_DutyStart": "Duty Start: ", "ConfigWindow_Events_DutyEnd": "Duty End: ", "ConfigWindow_Params_Description": "In this window, you can set the parameters about the using way of actions.", + "ConfigWindow_Param_UseOverlayWindow": "Display Top Overlay", + "ConfigWindow_Param_UseOverlayWindowDesc": "This top window is used to display some extra information on your game window, such as target's positional, target and sub-target, etc.", "ConfigWindow_Param_Basic": "Basic", "ConfigWindow_Param_ActionAhead": "Set the time advance of using actions", "ConfigWindow_Param_MinLastAbilityAdvanced": "Set min the time advance of using the last 0gcd.", @@ -97,8 +99,8 @@ "ConfigWindow_Param_ToastPositional": "Hint positional anticipation by Toast", "ConfigWindow_Param_SayPositional": "Hint positional anticipation by shouting", "ConfigWindow_Param_DrawPositional": "Draw Positional on the screen", + "ConfigWindow_Param_DrawMeleeRange": "Draw the range of melee on the screen", "ConfigWindow_Param_DrawMeleeOffset": "Draw the offset of melee on the screen", - "ConfigWindow_Param_AlphaInFill": "The alpha value in fill.", "ConfigWindow_Param_ShowMoveTarget": "Show the target of the move action", "ConfigWindow_Param_ShowTarget": "Show Target", "ConfigWindow_Param_SayOutStateChanged": "Saying the state changes out", diff --git a/RotationSolver/UI/PainterManager.cs b/RotationSolver/UI/PainterManager.cs index 641adb207..935fac223 100644 --- a/RotationSolver/UI/PainterManager.cs +++ b/RotationSolver/UI/PainterManager.cs @@ -108,7 +108,7 @@ public override void UpdateOnFrame(XIVPainter.XIVPainter painter) var ratio = (float)DrawingHelper.EaseFuncRemap(EaseFuncType.None, EaseFuncType.Cubic)(d); List subItems = new List() { _target, - new Drawing3DImage(act.GetTexture(), act.Target.Position) + new Drawing3DImage(act.GetTexture(), act.Target.Position, 0.2f) }; _target.Color = ImGui.GetColorU32(Service.Config.TargetColor); diff --git a/XIVPainter b/XIVPainter index 49a8d6a84..d631bae3c 160000 --- a/XIVPainter +++ b/XIVPainter @@ -1 +1 @@ -Subproject commit 49a8d6a84bce5e356da90ac8035979bababcedfd +Subproject commit d631bae3c361ce1f71b2626d14803673fe408f8e