Skip to content

Commit

Permalink
Adding rainbow bright to movement per Akechi
Browse files Browse the repository at this point in the history
  • Loading branch information
edewen committed Aug 28, 2024
1 parent 4855bbd commit 3d09386
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions XIVSlothCombo/Combos/PvE/PCT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,9 @@ protected override uint Invoke(uint actionID, uint lastComboActionID, float comb
if (CometinBlack.LevelChecked() && gauge.Paint >= 1 && HasEffect(Buffs.MonochromeTones))
return OriginalHook(CometinBlack);

if (HasEffect(Buffs.RainbowBright) || HasEffect(Buffs.RainbowBright) && GetBuffRemainingTime(Buffs.StarryMuse) <= 3f)
return RainbowDrip;

if (HolyInWhite.LevelChecked() && gauge.Paint >= 1)
return OriginalHook(HolyInWhite);
}
Expand Down Expand Up @@ -518,6 +521,12 @@ protected override uint Invoke(uint actionID, uint lastComboActionID, float comb
if (IsEnabled(CustomComboPreset.PCT_ST_AdvancedMode_MovementOption_CometinBlack) && CometinBlack.LevelChecked() && gauge.Paint >= 1 && HasEffect(Buffs.MonochromeTones))
return OriginalHook(CometinBlack);

if (IsEnabled(CustomComboPreset.PCT_ST_AdvancedMode_Burst_RainbowDrip))
{
if (HasEffect(Buffs.RainbowBright) || HasEffect(Buffs.RainbowBright) && GetBuffRemainingTime(Buffs.StarryMuse) <= 3f)
return RainbowDrip;
}

if (IsEnabled(CustomComboPreset.PCT_ST_AdvancedMode_MovementOption_HolyInWhite) && HolyInWhite.LevelChecked() && gauge.Paint >= 1)
return OriginalHook(HolyInWhite);
}
Expand Down Expand Up @@ -732,6 +741,9 @@ protected override uint Invoke(uint actionID, uint lastComboActionID, float comb
if (CometinBlack.LevelChecked() && gauge.Paint >= 1 && HasEffect(Buffs.MonochromeTones))
return OriginalHook(CometinBlack);

if (HasEffect(Buffs.RainbowBright) || (HasEffect(Buffs.RainbowBright) && GetBuffRemainingTime(Buffs.StarryMuse) < 3))
return RainbowDrip;

if (HolyInWhite.LevelChecked() && gauge.Paint >= 1)
return OriginalHook(HolyInWhite);

Expand Down Expand Up @@ -937,6 +949,12 @@ protected override uint Invoke(uint actionID, uint lastComboActionID, float comb
if (IsEnabled(CustomComboPreset.PCT_AoE_AdvancedMode_MovementOption_CometinBlack) && CometinBlack.LevelChecked() && gauge.Paint >= 1 && HasEffect(Buffs.MonochromeTones))
return OriginalHook(CometinBlack);

if (IsEnabled(CustomComboPreset.PCT_AoE_AdvancedMode_Burst_RainbowDrip))
{
if (HasEffect(Buffs.RainbowBright) || (HasEffect(Buffs.RainbowBright) && GetBuffRemainingTime(Buffs.StarryMuse) < 3))
return RainbowDrip;
}

if (IsEnabled(CustomComboPreset.PCT_AoE_AdvancedMode_MovementOption_HolyInWhite) && HolyInWhite.LevelChecked() && gauge.Paint >= 1)
return OriginalHook(HolyInWhite);

Expand Down

0 comments on commit 3d09386

Please sign in to comment.