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

Commit

Permalink
fix: the hot double check only valid in 3s.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 3, 2023
1 parent 54cd4ea commit 0c89267
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@ public unsafe virtual bool CanUse(out IAction act, CanUseOption option = CanUseO
{
if (DataCenter.IsMoving &&
!player.HasStatus(true, CustomRotation.Swiftcast.StatusProvide)) return false;

if (IsEot && IsFriendly && IActionHelper.IsLastGCD(true, this)) return false;
}

if (IsGeneralGCD && IsEot && IsFriendly && IActionHelper.IsLastGCD(true, this)
&& DataCenter.TimeSinceLastAction.TotalSeconds < 3) return false;

if (!FindTarget(mustUse, out var target) || target == null) return false;

if (ActionCheck != null && !ActionCheck(target)) return false;
Expand Down

0 comments on commit 0c89267

Please sign in to comment.