Skip to content

Commit

Permalink
#317 用尽干员逻辑更新
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawnsdaddy committed Sep 30, 2023
1 parent b49a7b5 commit ea57daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arknights_mower/solvers/base_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ def plan_solver(self):
(op.upper_limit - op.lower_limit) * self.op_data.config.resting_threshold + op.lower_limit):
continue
if op.name in self.op_data.exhaust_agent:
if op.current_mood() <= 2:
if op.current_mood() <= op.lower_limit + 2:
if find_next_task(self.tasks, meta_data=op.name) is None:
self.enter_room(op.current_room)
result = self.get_agent_from_room(op.current_room, [op.current_index])
Expand Down

0 comments on commit ea57daf

Please sign in to comment.