Skip to content

Commit

Permalink
Reassemble to Chainsaw now adjusted and "removed" [PUSH]
Browse files Browse the repository at this point in the history
Due to the adjustments on how Chainsaw is used now with DT, it didn't make sense to keep Reassemble to Chainsaw in its current iteration. It's been adjusted, and is now "removed" and is a child to another "removed" feature.
  • Loading branch information
Grammernatzi committed Aug 13, 2024
1 parent 9a688b7 commit a298935
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
6 changes: 1 addition & 5 deletions XIVComboExpanded/Combos/MCH.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,8 @@ internal class MachinistReassembleFeature : CustomCombo

protected override uint Invoke(uint actionID, uint lastComboMove, float comboTime, byte level)
{
var currentAction = !CanUseAction(OriginalHook(MCH.Chainsaw)) && IsEnabled(CustomComboPreset.MachinistReassembleOption) ? MCH.Drill : OriginalHook(MCH.Chainsaw);

if (IsEnabled(CustomComboPreset.MachinistChainsawFeature))
{
currentAction = MachinistChainsawFeature.ChooseChainsawAction(level, this.FilteredLastComboMove);
}
var currentAction = MachinistChainsawFeature.ChooseChainsawAction(level, this.FilteredLastComboMove);

var cooldownElapsed = GetCooldown(currentAction).CooldownElapsed;
// This delay makes sure you don't fatfinger Reassemble twice if you are using it after it gets charges and are smashing the button.
Expand Down
17 changes: 7 additions & 10 deletions XIVComboExpanded/CustomComboPreset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -605,15 +605,6 @@ public enum CustomComboPreset
[CustomComboInfo("Hypercharge to Wildfire", "Hypercharge becomes Wildfire if Wildfire is off-cooldown and you have a target.", MCH.JobID, MCH.Hypercharge)]
MachinistHyperfireFeature = 3107,

[OrderedEnum]
[CustomComboInfo("Reassemble to Chainsaw", "Reassemble becomes Chainsaw while Reassemble is active.", MCH.JobID, MCH.Reassemble)]
MachinistReassembleFeature = 3111,

[OrderedEnum]
[ParentCombo(MachinistReassembleFeature)]
[CustomComboInfo("Reassemble to Chainsaw: Drill Sync", "Chainsaw on Reassemble becomes Drill while synced, for muscle memory purposes.", MCH.JobID, MCH.Reassemble)]
MachinistReassembleOption = 3112,

[OrderedEnum]
[CustomComboInfo("Drill to Bioblaster", "Drill becomes Bioblaster if Reassemble is not active and your last combo action was Spread Shot/Scattergun.", MCH.JobID, MCH.Drill)]
MachinistBioDrillFeature = 3114,
Expand All @@ -631,9 +622,15 @@ public enum CustomComboPreset

[OrderedEnum]
[SecretCustomCombo]
[CustomComboInfo("Chainsaw Cycling Feature", "Replace Chainsaw with Air Anchor and then Drill, in a priority system. Does not replace any other actions, so you can easily watch their cooldowns.", MCH.JobID, MCH.Chainsaw)]
[CustomComboInfo("Chainsaw Cycling Feature", "Replace Chainsaw with Air Anchor and Drill, based on the priority of each cooldown. Does not replace any other actions, so you can easily watch their cooldowns.", MCH.JobID, MCH.Chainsaw)]
MachinistChainsawFeature = 3113,

[OrderedEnum]
[SecretCustomCombo]
[ParentCombo(MachinistChainsawFeature)]
[CustomComboInfo("Reassemble to Chainsaw", "Reassemble becomes Chainsaw's cycling actions while Reassemble is active.", MCH.JobID, MCH.Reassemble)]
MachinistReassembleFeature = 3111,

#endregion
// ====================================================================================
#region MONK
Expand Down

0 comments on commit a298935

Please sign in to comment.