Skip to content

Commit

Permalink
修复有时无法退出战斗
Browse files Browse the repository at this point in the history
  • Loading branch information
ok-oldking committed Oct 5, 2024
1 parent 6438b81 commit 0a76607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/combat/CombatCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def target_area_box(self):
def find_target_enemy(self):
start = time.time()
target_enemy = self.find_one('target_enemy_white', box=self.target_area_box,
use_gray_scale=True, threshold=0.7,
use_gray_scale=True, threshold=0.85,
frame_processor=keep_only_white)
if self.debug and target_enemy is None:
self.screenshot('find_target_enemy')
Expand Down

0 comments on commit 0a76607

Please sign in to comment.