Skip to content

Commit

Permalink
Merge pull request Nik-Potokar#1403 from Taurenkey/main
Browse files Browse the repository at this point in the history
Fix weaving
  • Loading branch information
Taurenkey authored Jun 30, 2024
2 parents 49d192f + 77a1e6a commit b04049a
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 b04049a

Please sign in to comment.