Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Tighter NIN mudra check
Browse files Browse the repository at this point in the history
  • Loading branch information
Taurenkey committed Oct 14, 2024
1 parent 283a25a commit 9b59519
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions XIVSlothCombo/Combos/JobHelpers/NIN.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ internal class MudraCasting : PvE.NIN
///<summary> Checks if the player is in a state to be able to cast a ninjitsu.</summary>
private static bool CanCast()
{
if (NINHelper.InMudra) return true;
var gcd = CustomComboFunctions.GetCooldown(GustSlash).CooldownTotal;

if (gcd == 0.5) return true;
Expand Down
2 changes: 1 addition & 1 deletion XIVSlothCombo/Window/Functions/Presets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<CustomComboInfoAttribute>().FancyName)} -> ");
conflictBuilder.Insert(0, $"{(Attributes.ContainsKey(subpar.Value) ? Attributes[subpar.Value].CustomComboInfo.FancyName : subpar?.GetAttribute<CustomComboInfoAttribute>().FancyName)} -> ");
par2 = subpar!.Value;
}

Expand Down

0 comments on commit 9b59519

Please sign in to comment.