Skip to content

Commit

Permalink
Missed some logic for Advanced summoner and an else causing Searing L…
Browse files Browse the repository at this point in the history
…ight to ignore selected burst phase.

Missed an InCombat check for Dreadwyrm Trance (The other Demis don't require being in combat to use)
  • Loading branch information
Genesis-Nova committed Jul 2, 2024
1 parent f62e5e2 commit 1577cee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions XIVSlothCombo/Combos/PvE/SMN.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim

if (CanSpellWeave(actionID))
{
if (IsOffCooldown(SearingLight) && LevelChecked(SearingLight) && (!LevelChecked(SummonSolarBahamut) && OriginalHook(Ruin) is AstralImpulse || OriginalHook(Ruin) is UmbralImpulse))
if (IsOffCooldown(SearingLight) && LevelChecked(SearingLight) && ((!LevelChecked(SummonSolarBahamut) && OriginalHook(Ruin) is AstralImpulse) || OriginalHook(Ruin) is UmbralImpulse))
return SearingLight;

if (!gauge.HasAetherflowStacks && IsOffCooldown(EnergyDrain))
Expand Down Expand Up @@ -440,7 +440,7 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
{
if (IsEnabled(CustomComboPreset.SMN_SearingLight_Burst))
{
if ((SummonerBurstPhase is 0 or 1 && OriginalHook(Ruin) is AstralImpulse or UmbralImpulse) ||
if (SummonerBurstPhase is 0 or 1 && ((!LevelChecked(SummonSolarBahamut) && OriginalHook(Ruin) is AstralImpulse) || OriginalHook(Ruin) is UmbralImpulse) ||
(SummonerBurstPhase == 2 && OriginalHook(Ruin) == FountainOfFire) ||
(SummonerBurstPhase == 3 && OriginalHook(Ruin) is AstralImpulse or UmbralImpulse or FountainOfFire) ||
(SummonerBurstPhase == 4))
Expand All @@ -449,7 +449,7 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
return SearingLight;
}
}
return SearingLight;
else return SearingLight;
}

// Emergency priority Demi Nuke to prevent waste if you can't get demi attacks out to satisfy the slider check.
Expand Down Expand Up @@ -587,7 +587,7 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
if (IsEnabled(CustomComboPreset.SMN_Advanced_Combo_DemiSummons))
{
if (gauge.SummonTimerRemaining == 0 && IsOffCooldown(OriginalHook(Aethercharge)) &&
((LevelChecked(Aethercharge) && !LevelChecked(SummonBahamut)) || // Pre-Bahamut Phase
((LevelChecked(Aethercharge) && !LevelChecked(SummonBahamut) && InCombat()) || // Pre-Bahamut Phase
(IsBahamutReady && LevelChecked(SummonBahamut)) || // Bahamut Phase
(IsPhoenixReady && LevelChecked(SummonPhoenix)) || // Phoenix Phase
(IsSolarBahamutReady && LevelChecked(SummonSolarBahamut)))) // Solar Bahamut Phase
Expand Down

0 comments on commit 1577cee

Please sign in to comment.