upd: [JP] COIN_HOLDER in minigame

This commit is contained in:
guoh064 2024-10-22 23:29:06 +08:00 committed by LmeSzinc
parent 68e6ac4b82
commit 6ea92ef60e

View File

@ -1,3 +1,4 @@
import module.config.server as server
from module.combat.assets import GET_ITEMS_1
from module.logger import logger
from module.minigame.assets import *
@ -7,10 +8,16 @@ from module.ui.page import page_game_room
from module.ui.scroll import Scroll
from module.ui.ui import UI
OCR_COIN = Digit(COIN_HOLDER,
name='OCR_COIN',
letter=(255, 235, 115),
threshold=128)
if server.server != 'jp':
OCR_COIN = Digit(COIN_HOLDER,
name='OCR_COIN',
letter=(255, 235, 115),
threshold=128)
else:
OCR_COIN = Digit(COIN_HOLDER,
name='OCR_COIN',
letter=(211, 196, 95),
threshold=128)
MINIGAME_SCROLL = Scroll(MINIGAME_SCROLL_AREA, color=(247, 247, 247), name='MINIGAME_SCROLL')
class MinigameRun(UI):