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

Commit

Permalink
fix: changed the click time on the last ability.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 2, 2023
1 parent 05f2c43 commit ce74808
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions RotationSolver/Updaters/ActionUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,20 +202,20 @@ internal unsafe static void DoAction()
if (_GCDDelay.Delay(canUseGCD)) RSCommands.DoAnAction(true);
if (canUseGCD) return;

//要超出GCD了,那就不放技能了。
//More then gcd.
if (DataCenter.WeaponRemain < Service.Config.AbilitiesInterval
|| DataCenter.WeaponElapsed < Service.Config.AbilitiesInterval)
{
return;
}

//还在咏唱,就不放技能了。
//Skip when casting
if (DataCenter.WeaponElapsed <= DataCenter.CastingTotal) return;

//只剩下最后一个能力技了,然后卡最后!
//The last one.
if (DataCenter.WeaponRemain < 2 * Service.Config.AbilitiesInterval)
{
if (DataCenter.WeaponRemain > Service.Config.AbilitiesInterval + Service.Config.ActionAhead) return;
if (DataCenter.WeaponRemain > Service.Config.AbilitiesInterval + Service.Config.ActionAhead * 2) return;
RSCommands.DoAnAction(false);
}
else if ((DataCenter.WeaponElapsed - DataCenter.CastingTotal) % Service.Config.AbilitiesInterval <= Service.Config.ActionAhead)
Expand Down
24 changes: 12 additions & 12 deletions docs/assets/HowAndWhenToClick.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ce74808

Please sign in to comment.