Skip to content

Commit

Permalink
Merge pull request #256 from kaedys/feature/holy-comet-combo
Browse files Browse the repository at this point in the history
Holy/Comet combo
  • Loading branch information
MKhayle authored Jul 2, 2024
2 parents d3c3e94 + de139f8 commit 732b752
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 18 deletions.
25 changes: 11 additions & 14 deletions XIVComboExpanded/Combos/PCT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,21 +123,18 @@ public const byte
StarPrism2 = 100;
}

//internal class PictomancerHolyCometCombo : CustomCombo
//{
// protected internal override CustomComboPreset Preset { get; } = CustomComboPreset.PictomancerHolyCometCombo;
internal class PictomancerHolyCometCombo : CustomCombo
{
protected internal override CustomComboPreset Preset { get; } = CustomComboPreset.PictomancerHolyCometCombo;

// protected override uint Invoke(uint actionID, uint lastComboMove, float comboTime, byte level)
// {
// var gauge = GetJobGauge<PCTGauge>();
// if (actionID == PCT.MiracleWhite && gauge.Black > 0)
// {
// {
// return PCT.CometBlack;
// }
// return actionID;
// }
//}
protected override uint Invoke(uint actionID, uint lastComboMove, float comboTime, byte level)
{
if (actionID == PCT.MiracleWhite && HasEffect(PCT.Buffs.InvertedColors))
return PCT.CometBlack;

return actionID;
}
}

//internal class PictomancerHolyAutoCombo : CustomCombo
//{
Expand Down
8 changes: 4 additions & 4 deletions XIVComboExpanded/CustomComboPreset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -659,18 +659,18 @@ public enum CustomComboPreset
// ====================================================================================
#region PICTOMANCER

[CustomComboInfo("Subtractive Single-Target Combo", "Replace Fire in Red and its combo chain with Blizzard in Cyan and its combo chain when Subtractive Palette is active.", PCT.JobID)]
[CustomComboInfo("Subtractive Single-Target Combo", "Replace Blizzard in Cyan and its combo chain with Fire in Red and its combo chain when Subtractive Palette is not active.", PCT.JobID)]
PictomancerSubtractiveSTCombo = 4201,

[CustomComboInfo("Subtractive AoE Combo", "Replace Fire II in Red and its combo chain with Blizzard II in Cyan and its combo chain when Subtractive Palette is active.", PCT.JobID)]
[CustomComboInfo("Subtractive AoE Combo", "Replace Blizzard II in Cyan and its combo chain with Fire II in Red and its combo chain when Subtractive Palette is not active.", PCT.JobID)]
PictomancerSubtractiveAoECombo = 4202,

//[SecretCustomCombo]
//[CustomComboInfo("Subtractive Autocast", "Replace Fire in Red and Fire II in Red, and their combo chains, with Subtractive Palette if the next cast in the chain would overcap the Palette Gauge.", PCT.JobID)]
//PictomancerSubtractiveAutoCombo = 4205,

//[CustomComboInfo("Holy Comet Combo", "Replace Holy in White with Comet in Black when usable.", PCT.JobID)]
//PictomancerHolyCometCombo = 4203,
[CustomComboInfo("Holy Comet Combo", "Replace Holy in White with Comet in Black when usable.", PCT.JobID)]
PictomancerHolyCometCombo = 4203,

//[SecretCustomCombo]
//[CustomComboInfo("Holy Autocast", "Replace Fire in Red, Fire II in Red, Blizzard in Cyan, Blizzard II in Cyan, and their combo chains, with Holy or Comet if the next cast would overcap the Paint Gauge.", PCT.JobID)]
Expand Down

0 comments on commit 732b752

Please sign in to comment.