Skip to content

Commit

Permalink
[PUSH] 2.0.0.9 SGE & GNB adjustments, NIN addition
Browse files Browse the repository at this point in the history
Part 1/3 of #415
  • Loading branch information
MKhayle committed Aug 11, 2024
1 parent 56cd0af commit 2cf4602
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 5 additions & 1 deletion XIVComboExpanded/Combos/NIN.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
{
if (comboTime > 0)
{
if (IsEnabled(CustomComboPreset.NinjaKazematoiFeature) && lastComboMove == NIN.GustSlash && level >= NIN.Levels.ArmorCrush && gauge.Kazematoi == 0)
if (
((IsEnabled(CustomComboPreset.NinjaKazematoiFeature) && !IsEnabled(CustomComboPreset.NinjaOvercapKazematoiFeature) && gauge.Kazematoi == 0)
|| (IsEnabled(CustomComboPreset.NinjaOvercapKazematoiFeature) && gauge.Kazematoi + 2 <= 5))
&& lastComboMove == NIN.GustSlash
&& level >= NIN.Levels.ArmorCrush)
return NIN.ArmorCrush;

if (lastComboMove == NIN.GustSlash && level >= NIN.Levels.AeolianEdge)
Expand Down
7 changes: 7 additions & 0 deletions XIVComboExpanded/CustomComboPreset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,13 @@ public enum CustomComboPreset
[CustomComboInfo("Auto-Refill Kazematoi / Huton Feature", "Replace Aeolian Edge with Armor Crush when you don't have any Kazematoi left or with its combo chain else.", NIN.JobID)]
NinjaKazematoiFeature = 3019,

[IconsCombo([NIN.ArmorCrush, UTL.Cycle, NIN.AeolianEdge, UTL.ArrowLeft, NIN.GustSlash, UTL.ArrowLeft, NIN.SpinningEdge])]
[SectionCombo("Single Target")]
[SecretCustomCombo]
[ParentCombo(NinjaKazematoiFeature)]
[CustomComboInfo("Kazematoi Overcap Feature", "Instead only replace Armor Crush with Aeolian Edge when you are about to overcap Kazematoi stacks or with its combo chain else.", NIN.JobID)]
NinjaOvercapKazematoiFeature = 3021,

[IconsCombo([NIN.AeolianEdge, UTL.ArrowLeft, NIN.Ninjutsu, UTL.Blank, NIN.Ninjutsu, UTL.Checkmark])]
[SectionCombo("Single Target")]
[ExpandedCustomCombo]
Expand Down
1 change: 1 addition & 0 deletions XIVComboExpanded/Interface/Changelog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public static Dictionary<string, string[]> GetChangelog()
"Fixed SGE's Dosis Psyche Feature being a child combo of the Auto Eukrasian Dosis feature.",
"Fixed SGE's Toxikon into Psyche being a child combo of the Toxikon into Phlegma.",
"Split GNB's Double Down Feature into Double Down Burst Feature & Double Down Fated Feature.",
"Added NIN's Kazematoi Overcap Feature.",
]
},
{
Expand Down

0 comments on commit 2cf4602

Please sign in to comment.