mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 14:27:00 +08:00
Fix: Handle mysteries in strategy_open()
This commit is contained in:
@@ -44,7 +44,7 @@ class MysteryHandler(StrategyHandler, EnemySearchingHandler):
|
||||
if button is None or area_cross_area(button.button, MYSTERY_ITEM.area, threshold=5):
|
||||
button = MYSTERY_ITEM
|
||||
|
||||
if self.appear(GET_ITEMS_1):
|
||||
if self.appear(GET_ITEMS_1, offset=5):
|
||||
logger.attr('Mystery', 'Get item')
|
||||
if drop:
|
||||
drop.add(self.device.image)
|
||||
|
||||
Reference in New Issue
Block a user