Skip to content

Commit 9a6c254

Browse files
committed
大世界4C BOSS出现后不再尝试拾取声骸
1 parent 98a56b1 commit 9a6c254

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/task/BaseWWTask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def walk_to_yolo_echo(self, time_out=8, update_function=None, echo_threshold=0.5
155155
self.log_debug('pick echo success')
156156
self._stop_last_direction(last_direction)
157157
return True
158-
if self.has_target():
158+
if self.in_combat():
159159
self.log_debug('pick echo has_target return fail')
160160
return False
161161
echos = self.find_echos(threshold=echo_threshold)

src/task/FarmEchoTask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def do_run(self):
8989
dropped = self.pick_echo()
9090
else:
9191
dropped = \
92-
self.yolo_find_echo(turn=self._in_realm, use_color=False, time_out=time_out, threshold=threshold)[0]
92+
self.yolo_find_echo(turn=self._in_realm, use_color=False, time_out=time_out, threshold=threshold)[0]
9393
self.incr_drop(dropped)
9494
if dropped and not self._has_treasure:
9595
self.wait_until(self.in_combat, raise_if_not_found=False, time_out=5)

0 commit comments

Comments
 (0)