mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-17 19:15:28 +08:00
Fix: Collect coins and loves in dorm
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 7.9 KiB |
@@ -62,8 +62,8 @@ class RewardDorm(UI):
|
|||||||
out: page_dorm, with info_bar
|
out: page_dorm, with info_bar
|
||||||
"""
|
"""
|
||||||
image = MASK_DORM.apply(self.device.image)
|
image = MASK_DORM.apply(self.device.image)
|
||||||
loves = TEMPLATE_DORM_LOVE.match_multi(image, name='DORM_LOVE')
|
loves = TEMPLATE_DORM_LOVE.match_multi(image, name='DORM_LOVE', scaling=1.5)
|
||||||
coins = TEMPLATE_DORM_COIN.match_multi(image, name='DORM_COIN')
|
coins = TEMPLATE_DORM_COIN.match_multi(image, name='DORM_COIN', scaling=1.5)
|
||||||
logger.info(f'Dorm loves: {len(loves)}, Dorm coins: {len(coins)}')
|
logger.info(f'Dorm loves: {len(loves)}, Dorm coins: {len(coins)}')
|
||||||
# Complicated dorm background
|
# Complicated dorm background
|
||||||
if len(loves) > 6:
|
if len(loves) > 6:
|
||||||
|
|||||||
Reference in New Issue
Block a user