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

Commit

Permalink
Added demi attacks requirement for "emergency" usage of demi attacks …
Browse files Browse the repository at this point in the history
…during burst phase, not sure why this wasn't here before.

Lux Solaris is not dependent on demi being active, it is a skill used by consuming a buff so I removed it from the above mentioned section..
  • Loading branch information
Genesis-Nova committed Jul 2, 2024
1 parent 43fe999 commit 78ee0a9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions XIVSlothCombo/Combos/PvE/SMN.cs
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,8 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
}

// Emergency priority Demi Nuke to prevent waste if you can't get demi attacks out to satisfy the slider check.
if (OriginalHook(Ruin) is AstralImpulse or UmbralImpulse or FountainOfFire && GetCooldown(OriginalHook(Aethercharge)).CooldownElapsed >= 12.5)
if (OriginalHook(Ruin) is AstralImpulse or UmbralImpulse or FountainOfFire &&
IsEnabled(CustomComboPreset.SMN_Advanced_Combo_DemiSummons_Attacks) && GetCooldown(OriginalHook(Aethercharge)).CooldownElapsed >= 12.5)
{
if (IsEnabled(CustomComboPreset.SMN_Advanced_Combo_DemiSummons_Attacks))
{
Expand All @@ -475,10 +476,6 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim

if (IsOffCooldown(Sunflare) && LevelChecked(Sunflare) && OriginalHook(Ruin) is UmbralImpulse)
return OriginalHook(AstralFlow);

if (IsEnabled(CustomComboPreset.SMN_Advanced_Combo_DemiSummons_LuxSolaris))
if (IsOffCooldown(LuxSolaris) && HasEffect(Buffs.RefulgentLux))
return OriginalHook(LuxSolaris);
}
}

Expand Down

0 comments on commit 78ee0a9

Please sign in to comment.