Skip to content

Commit

Permalink
Fix weaving
Browse files Browse the repository at this point in the history
  • Loading branch information
Taurenkey committed Jun 30, 2024
1 parent e1e226c commit 77a1e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XIVSlothCombo/Data/CooldownData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public bool IsCooldown
public unsafe float CooldownTotal => (ActionManager.GetAdjustedRecastTime(ActionType.Action, ActionID) / 1000f) * MaxCharges;

/// <summary> Gets the cooldown time remaining. </summary>
public unsafe float CooldownRemaining => CooldownTotal - CooldownElapsed;
public unsafe float CooldownRemaining => IsCooldown ? CooldownTotal - CooldownElapsed : 0;

/// <summary> Gets the maximum number of charges for an action at the current level. </summary>
/// <returns> Number of charges. </returns>
Expand Down

0 comments on commit 77a1e6a

Please sign in to comment.