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

Commit

Permalink
fix: add blackestNight status check.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 6, 2023
1 parent cec58c6 commit 17aa18d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions RotationSolver.Basic/Data/StatusID.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1129,4 +1129,6 @@ public enum StatusID : ushort
Mug = 3183,

Oblation = 2682,

TheBlackestNight = 1178,
}
3 changes: 2 additions & 1 deletion RotationSolver.Default/Tank/DRK_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ protected override bool DefenseSingleAbility(byte abilitiesRemaining, out IActio
{
act = null;

//if (Player.HasStatus(true, StatusID.dark)) return false;
if (Player.HasStatus(true, StatusID.TheBlackestNight)) return false;

if (abilitiesRemaining == 1)
{
if (TheBlackestNight.CanUse(out act)) return true;
Expand Down

0 comments on commit 17aa18d

Please sign in to comment.