mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-24 10:09:04 +08:00
Fix: Expand search area of FREE_SUPPLY_PACK
so we don't need to bother minor shift
This commit is contained in:
@@ -34,7 +34,7 @@ class SupplyPack(CampaignStatus):
|
|||||||
else:
|
else:
|
||||||
self.device.screenshot()
|
self.device.screenshot()
|
||||||
|
|
||||||
if self.appear(supply_pack, offset=(20, 20), interval=3):
|
if self.appear(supply_pack, offset=(200, 20), interval=3):
|
||||||
if click_count >= 3:
|
if click_count >= 3:
|
||||||
logger.warning(f'Failed to buy {supply_pack} after 3 trail, probably reached resource limit, skip')
|
logger.warning(f'Failed to buy {supply_pack} after 3 trail, probably reached resource limit, skip')
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user