mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Jp font 20241011 (#4272)
* tmp: [JP] commission assets * tmp: [JP] asset RESEARCH_COST_CHECKER * tmp: [JP] assets in mail batch * tmp: [JP] opsi get_zone_name color * tmp: [JP] get_coin and get_oil color * tmp: [JP] ash_collect_status and get_yellow_coins color * upd: [JP] resize commission assets recognize size
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
import module.config.server as server
|
||||
|
||||
from module.base.utils import image_left_strip
|
||||
from module.combat.combat import BATTLE_PREPARATION, Combat
|
||||
from module.config.utils import DEFAULT_TIME
|
||||
@@ -88,10 +90,16 @@ class OSAsh(UI, MapEventHandler):
|
||||
return 0
|
||||
if self.image_color_count(ASH_COLLECT_STATUS, color=(235, 235, 235), threshold=221, count=20):
|
||||
logger.info('Ash beacon status: light')
|
||||
ocr_collect = DigitCounter(
|
||||
ASH_COLLECT_STATUS, letter=(235, 235, 235), threshold=160, name='OCR_ASH_COLLECT_STATUS')
|
||||
ocr_daily = DailyDigitCounter(
|
||||
ASH_DAILY_STATUS, letter=(235, 235, 235), threshold=160, name='OCR_ASH_DAILY_STATUS')
|
||||
if server.server != 'jp':
|
||||
ocr_collect = DigitCounter(
|
||||
ASH_COLLECT_STATUS, letter=(235, 235, 235), threshold=160, name='OCR_ASH_COLLECT_STATUS')
|
||||
ocr_daily = DailyDigitCounter(
|
||||
ASH_DAILY_STATUS, letter=(235, 235, 235), threshold=160, name='OCR_ASH_DAILY_STATUS')
|
||||
else:
|
||||
ocr_collect = DigitCounter(
|
||||
ASH_COLLECT_STATUS, letter=(193, 193, 193), threshold=160, name='OCR_ASH_COLLECT_STATUS')
|
||||
ocr_daily = DailyDigitCounter(
|
||||
ASH_DAILY_STATUS, letter=(193, 193, 193), threshold=160, name='OCR_ASH_DAILY_STATUS')
|
||||
elif self.image_color_count(ASH_COLLECT_STATUS, color=(140, 142, 140), threshold=221, count=20):
|
||||
logger.info('Ash beacon status: gray')
|
||||
ocr_collect = DigitCounter(
|
||||
|
||||
Reference in New Issue
Block a user