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

Commit

Permalink
Merge commit 'refs/pull/1622/head' of https://github.com/Nik-Potokar/…
Browse files Browse the repository at this point in the history
  • Loading branch information
Taurenkey committed Aug 10, 2024
2 parents f9f40c1 + 621e459 commit c434866
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion XIVSlothCombo/Combos/CustomComboPreset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4157,7 +4157,7 @@ The three digets after RDM.JobID can be used to reorder items in the list
WHM_AoE_DPS_LilyOvercap = 19193,

[ParentCombo(WHM_AoE_DPS)]
[CustomComboInfo("Presence of Mind Option", "Adds Presence of Mind to the AoE combo if you are moving or it can be weaved without GCD delay.", WHM.JobID, 25, "", "")]
[CustomComboInfo("Presence of Mind Option", "Adds Presence of Mind to the AoE combo with GCD delay.", WHM.JobID, 25, "", "")]
WHM_AoE_DPS_PresenceOfMind = 19195,

[ParentCombo(WHM_AoE_DPS)]
Expand Down
5 changes: 5 additions & 0 deletions XIVSlothCombo/Combos/PvE/WHM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ internal static UserBool
WHM_ST_MainCombo_DoT_Adv = new("WHM_ST_MainCombo_DoT_Adv"),
WHM_ST_MainCombo_Adv = new("WHM_ST_MainCombo_Adv"),
WHM_ST_MainCombo_Opener_Swiftcast = new("WHM_ST_Opener_Swiftcast"),
WHM_AoEDPS_PresenceOfMindWeave = new("WHM_AoEDPS_PresenceOfMindWeave"),
WHM_STHeals_UIMouseOver = new("WHM_STHeals_UIMouseOver"),
WHM_STHeals_BenedictionWeave = new("WHM_STHeals_BenedictionWeave"),
WHM_STHeals_TetraWeave = new("WHM_STHeals_TetraWeave"),
Expand Down Expand Up @@ -437,10 +438,14 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim

bool liliesFullNoBlood = gauge.Lily == 3 && gauge.BloodLily < 3;
bool liliesNearlyFull = gauge.Lily == 2 && gauge.LilyTimer >= 17000;
bool PresenceOfMindReady = ActionReady(PresenceOfMind) && (!Config.WHM_AoEDPS_PresenceOfMindWeave);

if (IsEnabled(CustomComboPreset.WHM_AoE_DPS_Assize) && ActionReady(Assize))
return Assize;

if (IsEnabled(CustomComboPreset.WHM_AoE_DPS_PresenceOfMind) && PresenceOfMindReady)
return PresenceOfMind;

if (IsEnabled(CustomComboPreset.WHM_DPS_Variant_Rampart) &&
IsEnabled(Variant.VariantRampart) &&
IsOffCooldown(Variant.VariantRampart))
Expand Down
3 changes: 3 additions & 0 deletions XIVSlothCombo/Window/Functions/UserConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2547,6 +2547,9 @@ internal static void Draw(CustomComboPreset preset, bool enabled)
if (preset == CustomComboPreset.WHM_AoE_DPS_Lucid)
UserConfig.DrawSliderInt(4000, 9500, WHM.Config.WHM_AoEDPS_Lucid, "Set value for your MP to be at or under for this feature to work", 150, SliderIncrements.Hundreds);

if (preset == CustomComboPreset.WHM_AoE_DPS_PresenceOfMind)
UserConfig.DrawAdditionalBoolChoice(WHM.Config.WHM_AoEDPS_PresenceOfMindWeave, "Only Weave but will delay it. Holy has no window.", "");

if (preset == CustomComboPreset.WHM_AoEHeals_Lucid)
UserConfig.DrawSliderInt(4000, 9500, WHM.Config.WHM_AoEHeals_Lucid, "Set value for your MP to be at or under for this feature to work", 150, SliderIncrements.Hundreds);

Expand Down

0 comments on commit c434866

Please sign in to comment.