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

Commit

Permalink
fix: make defense command must use.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed May 14, 2023
1 parent 85cd1b9 commit b806420
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RotationSolver.Basic/Rotations/CustomRotation_Ability.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ private bool GeneralHealAbility(SpecialCommandType specialType, out IAction act)
{
act = null;

BaseAction.OtherOption |= CanUseOption.MustUse;
switch (specialType)
{
case SpecialCommandType.DefenseArea:
Expand All @@ -143,6 +144,7 @@ private bool GeneralHealAbility(SpecialCommandType specialType, out IAction act)
if (DefenseSingleAbility(out act)) return true;
break;
}
BaseAction.OtherOption &= ~CanUseOption.MustUse;

if ((DataCenter.HPNotFull || Job.GetJobRole() != JobRole.Healer) && InCombat)
{
Expand Down

0 comments on commit b806420

Please sign in to comment.