From 7a8859855584bfff8170a6d873b44dc5ab8172d0 Mon Sep 17 00:00:00 2001 From: Akinee Date: Thu, 22 Aug 2024 23:05:17 +0200 Subject: [PATCH] Fix PCT bug --- XIVSlothCombo/Combos/JobHelpers/PCT.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/XIVSlothCombo/Combos/JobHelpers/PCT.cs b/XIVSlothCombo/Combos/JobHelpers/PCT.cs index 62319c2ce..e7761ca6f 100644 --- a/XIVSlothCombo/Combos/JobHelpers/PCT.cs +++ b/XIVSlothCombo/Combos/JobHelpers/PCT.cs @@ -111,7 +111,7 @@ private bool DoPrePullSteps(ref uint actionID) CurrentState = OpenerState.FailedOpener; if (!HasMotifs()) - CurrentState = OpenerState.FailedOpener; + return false; return true; } @@ -364,7 +364,7 @@ private bool DoPrePullSteps(ref uint actionID) CurrentState = OpenerState.FailedOpener; if (!HasMotifs()) - CurrentState = OpenerState.FailedOpener; + return false; return true; } @@ -612,7 +612,7 @@ private bool DoPrePullSteps(ref uint actionID) else if (PrePullStep == 1) actionID = FireInRed; if (!HasMotifs()) - CurrentState = OpenerState.FailedOpener; + return false; return true; } @@ -880,7 +880,7 @@ private bool DoPrePullSteps(ref uint actionID) else if (PrePullStep == 1) actionID = FireInRed; if (!HasMotifs()) - CurrentState = OpenerState.FailedOpener; + return false; return true; } @@ -1154,7 +1154,7 @@ private bool DoPrePullSteps(ref uint actionID) else if (PrePullStep == 1) actionID = FireInRed; if (!HasMotifs()) - CurrentState = OpenerState.FailedOpener; + return false; return true; } @@ -1267,7 +1267,7 @@ private bool DoOpener(ref uint actionID) return false; } - if (OpenerStep > 14) // Assuming 15 is the last step + if (OpenerStep > 14) { CurrentState = OpenerState.OpenerFinished; Svc.Log.Information("Opener completed successfully.");