Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: using tincture as late as possible.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 20, 2023
1 parent 3aab72c commit 0c64b88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RotationSolver.Basic/Actions/BaseItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ public unsafe bool CanUse(out IAction item)

var remain = RecastTimeOneCharge - RecastTimeElapsed;

if (DataCenter.NextAbilityToNextGCD > AnimationLockTime + DataCenter.Ping + DataCenter.MinPing) return false;

if (CooldownHelper.RecastAfter((float)(DataCenter.NextActionTime - DateTime.Now).TotalSeconds,
remain, false)) return false;

Expand Down

0 comments on commit 0c64b88

Please sign in to comment.