Skip to content

Commit

Permalink
[FEATURE] RDM - Grand Impact deprioritize for verprocs
Browse files Browse the repository at this point in the history
  • Loading branch information
plidev committed Jul 6, 2024
1 parent d6c252b commit 5d50d4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions XIVComboExpanded/Combos/RDM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim

if (IsEnabled(CustomComboPreset.RedMageVerprocFeature))
{
if (HasEffect(RDM.Buffs.GrandImpactReady))
if (!IsEnabled(CustomComboPreset.RedMageVerprocGrandImpactDeprioritize) && HasEffect(RDM.Buffs.GrandImpactReady))
return RDM.GrandImpact;

if (HasEffect(RDM.Buffs.VerstoneReady))
Expand Down Expand Up @@ -355,7 +355,7 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim

if (IsEnabled(CustomComboPreset.RedMageVerprocFeature))
{
if (HasEffect(RDM.Buffs.GrandImpactReady))
if (!IsEnabled(CustomComboPreset.RedMageVerprocGrandImpactDeprioritize) && HasEffect(RDM.Buffs.GrandImpactReady))
return RDM.GrandImpact;

if (HasEffect(RDM.Buffs.VerfireReady))
Expand Down
4 changes: 4 additions & 0 deletions XIVComboExpanded/CustomComboPreset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,10 @@ public enum CustomComboPreset
[CustomComboInfo("Verstone/Verfire Feature", "Replace Verstone/Verfire with Jolt when no proc is available.", RDM.JobID)]
RedMageVerprocFeature = 3504,

[ParentCombo(RedMageVerprocFeature)]
[CustomComboInfo("Deprioritize Grand Impact", "After using Acceleration, prioritize using Verstone/Verfire over Grand Impact if both buffs are active.", RDM.JobID)]
RedMageVerprocGrandImpactDeprioritize = 3519,

[CustomComboInfo("Verstone/Verfire Plus Feature", "Replace Verstone/Verfire with Veraero/Verthunder when various instant-cast effects are active.", RDM.JobID)]
RedMageVerprocPlusFeature = 3505,

Expand Down

0 comments on commit 5d50d4d

Please sign in to comment.