mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-11 16:52:30 +08:00
Refactor: Standardize the use of match_template_color()
This commit is contained in:
@@ -99,8 +99,7 @@ class MeowfficerBuy(MeowfficerBase):
|
||||
continue
|
||||
|
||||
# End
|
||||
if self.appear(MEOWFFICER_BUY_ENTER, offset=(20, 20)) \
|
||||
and MEOWFFICER_BUY_ENTER.match_appear_on(self.device.image):
|
||||
if self.match_template_color(MEOWFFICER_BUY_ENTER, offset=(20, 20)):
|
||||
break
|
||||
|
||||
def meow_buy(self) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user