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

Commit

Permalink
fix: fixed mark target system.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Jun 27, 2023
1 parent 404eaed commit b1c0134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RotationSolver.Basic/Actions/BaseAction_Target.cs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ private bool TargetHostile(float range, bool mustUse, int aoeCount, out BattleCh
if (Service.Config.ChooseAttackMark)
{
var b = MarkingHelper.GetAttackMarkChara(DataCenter.HostileTargets);
if (b != null && GetMostObjects(TargetFilterFuncEot(new BattleChara[] { b }, mustUse), Service.Config.CanAttackMarkAOE ? aoeCount : int.MaxValue).Any())
if (b != null && ChoiceTarget(GetMostObjects(TargetFilterFuncEot(new BattleChara[] { b }, mustUse), Service.Config.CanAttackMarkAOE ? aoeCount : int.MaxValue), mustUse) != null)
{
target = b;
return true;
Expand Down

0 comments on commit b1c0134

Please sign in to comment.