Skip to content

Commit e548e29

Browse files
fix(AutoFish): 更改了鱼饵的模板图片 (#249)
1 parent 433016b commit e548e29

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

agent/custom/action/AutoFish/auto_buy_fish_bait.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from maa.custom_action import CustomAction
1111
from maa.context import Context
1212

13-
from utils.logger import logger
1413
from utils.maafocus import PrintT
1514

1615

@@ -76,13 +75,6 @@ def run(
7675
found_bait, prob, x, y = match_template_in_region(
7776
img, fish_shop_region, self.bait_template, found_bait_threshold
7877
)
79-
logger.debug(
80-
"Current found bait threshold: %s, match probability: %.2f, clicked on bait at (%d, %d)",
81-
found_bait_threshold,
82-
prob,
83-
x + 15,
84-
y + 5,
85-
)
8678
if found_bait:
8779
controller.post_touch_move(
8880
x, y
@@ -116,7 +108,6 @@ def run(
116108
found_select_max, prob, _, _ = match_template_in_region(
117109
img, select_max_region, self.select_max_template, match_threshold
118110
)
119-
logger.debug("Looking for select max option, match probability: %.2f", prob)
120111
if found_select_max:
121112
PrintT(context, "autofish.select_max_found")
122113
for _ in range(5):
1.68 KB
Loading

0 commit comments

Comments
 (0)