mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 22:08:20 +08:00
Fix: stuck in retreat confirmation on potato pcs
and remove duplicate GET_ITEMS_1 in handler assets
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from module.base.timer import Timer
|
||||
from module.base.utils import area_in_area
|
||||
from module.combat.assets import GET_ITEMS_1
|
||||
from module.handler.assets import *
|
||||
from module.handler.enemy_searching import EnemySearchingHandler
|
||||
from module.handler.strategy import StrategyHandler
|
||||
@@ -17,7 +18,7 @@ class MysteryHandler(StrategyHandler, EnemySearchingHandler):
|
||||
Can be destination grid which makes the bot more like human.
|
||||
"""
|
||||
if button is None or area_in_area(button.button, MYSTERY_ITEM.area, threshold=20):
|
||||
button = GET_ITEMS_1
|
||||
button = MYSTERY_ITEM
|
||||
|
||||
if self.appear(GET_ITEMS_1):
|
||||
logger.attr('Mystery', 'Get item')
|
||||
|
||||
Reference in New Issue
Block a user