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

Commit

Permalink
fix: if the status is very long ,dispell it.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 22, 2023
1 parent 1dc2eeb commit 28c3096
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
15 changes: 12 additions & 3 deletions Resources/AnimationLockTime.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,16 @@
"110": 0.6,
"114": 0.6,
"118": 0.6,
"120": 0.1,
"121": 0.6,
"124": 0.1,
"125": 0.1,
"127": 0.1,
"131": 0.1,
"132": 0.6,
"135": 0.1,
"136": 0.6,
"137": 0.6,
"141": 0.1,
"149": 0.6,
"152": 0.1,
Expand Down Expand Up @@ -90,12 +97,13 @@
"3593": 0.6,
"3595": 0.6,
"3596": 0.1,
"3600": 0.6,
"3601": 0.1,
"3598": 0.1,
"3600": 0.1,
"3601": 0.6,
"3603": 0.1,
"3606": 0.6,
"3608": 0.6,
"3610": 0.6,
"3610": 0.1,
"3612": 0.6,
"3614": 0.6,
"3615": 0.1,
Expand Down Expand Up @@ -231,6 +239,7 @@
"19004": 0.6,
"19012": 0.6,
"19297": 0.6,
"20667": 2.1,
"24284": 0.1,
"24285": 0.6,
"24290": 0.6,
Expand Down
1 change: 1 addition & 0 deletions RotationSolver.Basic/Helpers/StatusHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ public static bool IsDangerous(this Status status)
{
if (!status.CanDispel()) return false;
if (status.StackCount > 2) return true;
if (status.RemainingTime > 8 + DataCenter.WeaponRemain) return true;
return dangerousStatus.Any(id => (uint)id == status.StatusId);
}

Expand Down

0 comments on commit 28c3096

Please sign in to comment.