From 962265a603f26f96f6e38340e6fb1509da7f2312 Mon Sep 17 00:00:00 2001 From: Taurenkey Date: Sun, 15 Oct 2023 18:15:27 +0100 Subject: [PATCH] [PUSH] 3.1.0.4 --- XIVSlothCombo/Combos/JobHelpers/BLM.cs | 11 ++++++++--- XIVSlothCombo/Combos/PvE/BLM.cs | 3 ++- XIVSlothCombo/XIVSlothCombo.csproj | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/XIVSlothCombo/Combos/JobHelpers/BLM.cs b/XIVSlothCombo/Combos/JobHelpers/BLM.cs index d9b9bede9..e7a1a7a10 100644 --- a/XIVSlothCombo/Combos/JobHelpers/BLM.cs +++ b/XIVSlothCombo/Combos/JobHelpers/BLM.cs @@ -36,7 +36,7 @@ private static bool HasCooldowns() private static uint OpenerLevel => 90; - public uint PrePullStep = 1; + public uint PrePullStep = 0; public uint OpenerStep = 1; @@ -59,7 +59,6 @@ public OpenerState CurrentState if (value == OpenerState.PrePull) { Svc.Log.Debug($"Entered PrePull Opener"); - PrePullStep = 1; } if (value == OpenerState.InOpener) OpenerStep = 1; if (value == OpenerState.OpenerFinished || value == OpenerState.FailedOpener) @@ -80,7 +79,13 @@ private bool DoPrePullSteps(ref uint actionID) { if (!LevelChecked) return false; - if (CanOpener && PrePullStep == 0 && !CustomComboFunctions.InCombat()) { CurrentState = OpenerState.PrePull; } + if (CanOpener && PrePullStep == 0) + { + PrePullStep = 1; + } + + if (PrePullStep < 1) + return false; if (CurrentState == OpenerState.PrePull) { diff --git a/XIVSlothCombo/Combos/PvE/BLM.cs b/XIVSlothCombo/Combos/PvE/BLM.cs index cbe8d4934..24d1c50e5 100644 --- a/XIVSlothCombo/Combos/PvE/BLM.cs +++ b/XIVSlothCombo/Combos/PvE/BLM.cs @@ -5,6 +5,7 @@ using XIVSlothCombo.Combos.PvE.Content; using XIVSlothCombo.CustomComboNS; using XIVSlothCombo.CustomComboNS.Functions; +using XIVSlothCombo.Extensions; namespace XIVSlothCombo.Combos.PvE { @@ -302,7 +303,7 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim return Manafont; // Cast Fire IV after Manafont - if (IsOnCooldown(Manafont) && WasLastAction(Manafont)) + if (IsOnCooldown(Manafont) && WasLastAction(Manafont) && Fire4.LevelChecked()) return Fire4; // Blizzard III/Despair when below Fire IV + Despair MP diff --git a/XIVSlothCombo/XIVSlothCombo.csproj b/XIVSlothCombo/XIVSlothCombo.csproj index 98585940b..01163db9e 100644 --- a/XIVSlothCombo/XIVSlothCombo.csproj +++ b/XIVSlothCombo/XIVSlothCombo.csproj @@ -4,7 +4,7 @@ Team Sloth - - 3.1.0.3 + 3.1.0.4 XIVCombo for lazy players Copyleft attick 2021 thanks attick UwU