Skip to content

Commit

Permalink
WHM Update
Browse files Browse the repository at this point in the history
  • Loading branch information
MKhayle committed Jul 3, 2024
1 parent e77c61b commit 56117c8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion XIVComboExpanded/Combos/WHM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public const uint
Cure = 120,
Medica = 124,
Raise = 125,
Medica2 = 133,
Cure2 = 135,
PresenceOfMind = 136,
Holy = 139,
Expand Down Expand Up @@ -168,7 +169,11 @@ internal class WhiteMageMedica : CustomCombo

protected override uint Invoke(uint actionID, uint lastComboMove, float comboTime, byte level)
{
if (actionID == WHM.Medica)
if (actionID == WHM.Medica &&
(IsEnabled(CustomComboPreset.WhiteMageAfflatusMedicaPlusFeature) &&
(actionID == WHM.Medica2 || actionID == WHM.Medica3)
)
)
{
var gauge = GetJobGauge<WHMGauge>();

Expand Down
4 changes: 4 additions & 0 deletions XIVComboExpanded/CustomComboPreset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,10 @@ public enum CustomComboPreset
[CustomComboInfo("Afflatus Feature", "Replace Cure 2 with Afflatus Solace and Medica with Afflatus Rapture when a Lily is available.", WHM.JobID)]
WhiteMageAfflatusFeature = 2404,

[ParentCombo(WhiteMageAfflatusFeature)]
[CustomComboInfo("Medicafflatus Feature", "Also replaces Medica 2 & Medica 3 with Afflatus Rapture when a Lily is available.", WHM.JobID)]
WhiteMageAfflatusMedicaPlusFeature = 2408,

[CustomComboInfo("Glare4 Feature", "Replace Glare 3 with Glare 4 when a stack is available.", WHM.JobID)]
WhiteMageGlare4Feature = 2407,

Expand Down

0 comments on commit 56117c8

Please sign in to comment.