Skip to content

Commit

Permalink
Merge pull request #230 from diwo/pld-royal-authority-fof
Browse files Browse the repository at this point in the history
PLD: Split RoyalAuthority combo FoF behavior to a separate option
  • Loading branch information
daemitus authored Jul 8, 2023
2 parents 2c1888a + 0be4f84 commit fa7b16a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion XIVComboExpanded/Combos/PLD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
if (actionID == PLD.RageOfHalone || actionID == PLD.RoyalAuthority)
{
// During FoF, prioritize the higher-potency Divine Might cast over Atonement and the normal combo chain
if (IsEnabled(CustomComboPreset.PaladinRoyalAuthorityDivineMightFeature))
if (IsEnabled(CustomComboPreset.PaladinRoyalAuthorityFightOrFlightFeature))
{
if (HasEffect(PLD.Buffs.FightOrFlight) && HasEffect(PLD.Buffs.DivineMight) && HasMp(PLD.HolySpirit))
return PLD.HolySpirit;
Expand Down
8 changes: 7 additions & 1 deletion XIVComboExpanded/CustomComboPreset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,15 @@ public enum CustomComboPreset
[CustomComboInfo("Royal Authority Combo", "Replace Royal Authority with its combo chain.", PLD.JobID)]
PaladinRoyalAuthorityCombo = 1902,

[CustomComboInfo("Royal Authority Divine Might Feature", "Replace Royal Authority with Holy Spirit when Divine Might is active.", PLD.JobID)]
[ParentCombo(PaladinRoyalAuthorityCombo)]
[CustomComboInfo("Royal Authority Divine Might Feature", "Replace Royal Authority with Holy Spirit when Divine Might would overcap.", PLD.JobID)]
PaladinRoyalAuthorityDivineMightFeature = 1912,

[ParentCombo(PaladinRoyalAuthorityCombo)]
[CustomComboInfo("Royal Authority Fight or Flight Feature", "Replace Royal Authority with Holy Spirit during Fight or Flight when Divine Might is active.", PLD.JobID)]
PaladinRoyalAuthorityFightOrFlightFeature = 1915,

[ParentCombo(PaladinRoyalAuthorityCombo)]
[CustomComboInfo("Royal Authority Atonement Feature", "Replace Royal Authority with Atonement when under the effect of Sword Oath.", PLD.JobID)]
PaladinRoyalAuthorityAtonementFeature = 1903,

Expand Down

0 comments on commit fa7b16a

Please sign in to comment.