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

Commit

Permalink
fix: fixed with living dead.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 22, 2023
1 parent 88ae1ef commit be7caf2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions RotationSolver.Basic/Data/StatusID.cs
Original file line number Diff line number Diff line change
Expand Up @@ -502,4 +502,6 @@ public enum StatusID : ushort
TheBlackestNight = 1178,

VortexBarrier = 3012,

LivingDead = 810,
}
4 changes: 2 additions & 2 deletions RotationSolver.Basic/Helpers/StatusHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static class StatusHelper

internal static StatusID[] NoNeedHealingStatus { get; } = new StatusID[]
{
StatusID.Holmgang, StatusID.WillDead, StatusID.WalkingDead,
StatusID.Holmgang, StatusID.WillDead, StatusID.LivingDead
};


Expand Down Expand Up @@ -195,6 +195,6 @@ public static bool IsDangerous(this Status status)

public static bool CanDispel(this Status status)
{
return status.GameData.CanDispel && status.RemainingTime > 2;
return status.GameData.CanDispel && status.RemainingTime > 1 + DataCenter.WeaponRemain;
}
}

0 comments on commit be7caf2

Please sign in to comment.