From 9b59519095901b94b93bd40c08fa92c21494fd29 Mon Sep 17 00:00:00 2001 From: Taurenkey Date: Mon, 14 Oct 2024 15:02:45 +0100 Subject: [PATCH] Tighter NIN mudra check --- XIVSlothCombo/Combos/JobHelpers/NIN.cs | 1 + XIVSlothCombo/Window/Functions/Presets.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/XIVSlothCombo/Combos/JobHelpers/NIN.cs b/XIVSlothCombo/Combos/JobHelpers/NIN.cs index 465c869bb..e1e4485c9 100644 --- a/XIVSlothCombo/Combos/JobHelpers/NIN.cs +++ b/XIVSlothCombo/Combos/JobHelpers/NIN.cs @@ -34,6 +34,7 @@ internal class MudraCasting : PvE.NIN /// Checks if the player is in a state to be able to cast a ninjitsu. private static bool CanCast() { + if (NINHelper.InMudra) return true; var gcd = CustomComboFunctions.GetCooldown(GustSlash).CooldownTotal; if (gcd == 0.5) return true; diff --git a/XIVSlothCombo/Window/Functions/Presets.cs b/XIVSlothCombo/Window/Functions/Presets.cs index 37e552b93..bbb734dc0 100644 --- a/XIVSlothCombo/Window/Functions/Presets.cs +++ b/XIVSlothCombo/Window/Functions/Presets.cs @@ -132,7 +132,7 @@ internal unsafe static void DrawPreset(CustomComboPreset preset, CustomComboInfo var subpar = PresetStorage.GetParent(par2); if (subpar != null) { - conflictBuilder.Insert(0, $"{(Attributes.ContainsKey(subpar.Value) ? Attributes[subpar.Value].CustomComboInfo : subpar?.GetAttribute().FancyName)} -> "); + conflictBuilder.Insert(0, $"{(Attributes.ContainsKey(subpar.Value) ? Attributes[subpar.Value].CustomComboInfo.FancyName : subpar?.GetAttribute().FancyName)} -> "); par2 = subpar!.Value; }