1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-22 14:03:44 +08:00

Upd: resize image in campaign bonus

This commit is contained in:
2025-12-11 23:25:44 +08:00
parent 2dc14708f1
commit 45c1b50605
3 changed files with 57 additions and 22 deletions

View File

@@ -25,8 +25,8 @@ class CampaignBonusStatistics(GetItemsStatistics):
if CAMPAIGN_BONUS_STRATEGY_CHECK.match(image, offset=(200, 500), similarity=similarity):
return False
if AUTO_SEARCH_MENU_EXIT.match(image, offset=(200, 20), similarity=similarity) \
and (CAMPAIGN_BONUS.match(image, offset=(200, 500), similarity=similarity) \
and CAMPAIGN_BONUS_SINGLE.match(image, offset=(200, 500), similarity=similarity)):
and CAMPAIGN_BONUS_SINGLE.match(image, offset=(200, 100), similarity=similarity) \
and CAMPAIGN_BONUS.match(image, offset=(200, 500), similarity=similarity):
return True
return False