mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
merge alas
This commit is contained in:
@@ -9,10 +9,7 @@ from module.map.map_grids import SelectedGrids
|
||||
from module.ocr.ocr import Digit
|
||||
from module.os_handler.assets import *
|
||||
from module.ui.ui import UI
|
||||
<<<<<<< HEAD
|
||||
from module.log_res.log_res import LogRes
|
||||
=======
|
||||
>>>>>>> 24aa3e00bd9af9a6a050df54c6a0cef959a9c6c0
|
||||
|
||||
OCR_SHOP_YELLOW_COINS = Digit(SHOP_YELLOW_COINS, letter=(239, 239, 239), threshold=160, name='OCR_SHOP_YELLOW_COINS')
|
||||
OCR_SHOP_PURPLE_COINS = Digit(SHOP_PURPLE_COINS, letter=(255, 255, 255), name='OCR_SHOP_PURPLE_COINS')
|
||||
@@ -75,17 +72,11 @@ class OSStatus(UI):
|
||||
continue
|
||||
else:
|
||||
break
|
||||
<<<<<<< HEAD
|
||||
LogRes(self.config).YellowCoin = yellow_coins
|
||||
=======
|
||||
>>>>>>> 24aa3e00bd9af9a6a050df54c6a0cef959a9c6c0
|
||||
|
||||
return yellow_coins
|
||||
|
||||
def get_purple_coins(self) -> int:
|
||||
amount = OCR_SHOP_PURPLE_COINS.ocr(self.device.image)
|
||||
<<<<<<< HEAD
|
||||
LogRes(self.config).PurpleCoin = amount
|
||||
=======
|
||||
>>>>>>> 24aa3e00bd9af9a6a050df54c6a0cef959a9c6c0
|
||||
return amount
|
||||
|
||||
Reference in New Issue
Block a user