Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: fixed status show about defense Single.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 2, 2023
1 parent 9caa7a8 commit 25ba5ac
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 @@ -191,13 +191,15 @@ private bool AutoDefense(byte abilitiesRemaining, JobRole role, bool helpDefense
//A lot targets are targeting on me.
if (tarOnMeCount > 1 && !IsMoving)
{
if (!helpDefenseSingle) DataCenter.SetAutoStatus(AutoStatus.DefenseSingle, true);
if (ArmsLength.CanUse(out act)) return true;
if (DefenseSingleAbility(abilitiesRemaining, out act)) return true;
}

//Big damage casting action.
if (tarOnMeCount == 1 && DataCenter.IsHostileCastingToTank)
{
if (!helpDefenseSingle) DataCenter.SetAutoStatus(AutoStatus.DefenseSingle, true);
if (DefenseSingleAbility(abilitiesRemaining, out act)) return true;
}
}
Expand Down

0 comments on commit 25ba5ac

Please sign in to comment.