1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-22 01:19:18 +08:00
This commit is contained in:
GH Action - Upstream Sync
2025-08-02 20:25:29 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ class CampaignBase(CampaignBase_):
# Handle a different GET_ITEMS_1 # Handle a different GET_ITEMS_1
if super().handle_mystery_items(button, drop=drop): if super().handle_mystery_items(button, drop=drop):
return True return True
if self.appear(GET_ITEMS_1_RYZA, offset=(20, 20)): if self.appear(GET_ITEMS_1_RYZA, offset=(-20, -100, 20, 20)):
logger.attr('Mystery', 'Get item') logger.attr('Mystery', 'Get item')
if drop: if drop:
drop.add(self.device.image) drop.add(self.device.image)

View File

@@ -128,7 +128,7 @@ class Camera(MapOperation):
# Don't use handle_mystery() here since OpSi overrides it. # Don't use handle_mystery() here since OpSi overrides it.
self.device.click(GET_ITEMS_1) self.device.click(GET_ITEMS_1)
return False return False
elif self.appear(GET_ITEMS_1_RYZA, offset=(20, 20)): elif self.appear(GET_ITEMS_1_RYZA, offset=(-20, -100, 20, 20)):
logger.warning('Perspective error caused by GET_ITEMS_1_RYZA') logger.warning('Perspective error caused by GET_ITEMS_1_RYZA')
self.device.click(GET_ITEMS_1_RYZA) self.device.click(GET_ITEMS_1_RYZA)
return False return False