Skip to content

Commit

Permalink
fix sprint ID, and also remove sprint/peloton combo cause it doesn't …
Browse files Browse the repository at this point in the history
…work
  • Loading branch information
PrincessRTFM committed Sep 20, 2023
1 parent f2a4889 commit 001ee80
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion XIVComboVX/Combos/Common.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace PrincessRTFM.XIVComboVX.Combos;
internal static class Common {
public const uint
// everyone
Sprint = 29057,
Sprint = 4,
// ranged DPS
Peloton = 7557,
// tanks
Expand Down Expand Up @@ -46,6 +46,7 @@ internal static bool checkLucidWeave(CustomComboPreset preset, byte level, uint
}
}

#if DEBUG
internal class PelotonSprintCombo: CustomCombo {
public override CustomComboPreset Preset => CustomComboPreset.CommonSmartPelotonSprint;
public override uint[] ActionIDs => new uint[] { Common.Sprint, Common.Peloton };
Expand All @@ -64,6 +65,7 @@ protected override uint Invoke(uint actionID, uint lastComboActionId, float comb
return Common.Peloton;
}
}
#endif

internal abstract class SwiftRaiseCombo: CustomCombo {
protected override uint Invoke(uint actionID, uint lastComboMove, float comboTime, byte level) {
Expand Down
2 changes: 2 additions & 0 deletions XIVComboVX/CustomComboPreset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1553,12 +1553,14 @@ public enum CustomComboPreset {
// ====================================================================================
#region Common (100xx)

#if DEBUG
[CustomComboInfo("Smart Peloton/Sprint swap", "Changes Peloton and Peloton as follows:\n- Sprint when in combat or not a ranged DPS\n- Peloton when out of combat and you are a ranged DPS", 0)]
CommonSmartPelotonSprint = 10000,

[ParentPreset(CommonSmartPelotonSprint)]
[CustomComboInfo("Priority sprint", "Only become Peloton when Sprint is also on cooldown.\nSprint is (VERY) slightly faster than Peloton.", 0)]
CommonSmartPelotonSprintPrioritySprint = 10001,
#endif

#endregion
}
Expand Down
2 changes: 1 addition & 1 deletion XIVComboVX/XIVComboVX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Product>XIVComboVX</Product>
<Authors>attick, daemitus, VariableVixen</Authors>
<Version>9.9.0</Version>
<Version>9.9.1</Version>
<Description>This plugin condenses various abilities onto single buttons.</Description>
<PackageProjectUrl>https://github.com/PrincessRTFM/XIVComboPlugin</PackageProjectUrl>
<Copyright>Copyleft attick 2020 baybeeee</Copyright>
Expand Down

0 comments on commit 001ee80

Please sign in to comment.