Refactor: Move to tasks/rogue/blessing

This commit is contained in:
LmeSzinc 2023-09-11 23:24:41 +08:00
parent 2c58bb4f83
commit be4ad40310
7 changed files with 10 additions and 10 deletions

View File

@ -11,9 +11,9 @@ from module.ocr.utils import split_and_pair_buttons
from tasks.rogue.assets.assets_rogue_blessing import *
from tasks.rogue.assets.assets_rogue_ui import BLESSING_CONFIRM
from tasks.rogue.keywords import *
from tasks.rogue.preset import *
from tasks.rogue.selector import RogueSelector
from tasks.rogue.utils import get_regex_from_keyword_name, parse_name, is_card_selected
from tasks.rogue.bleesing.preset import *
from tasks.rogue.bleesing.selector import RogueSelector
from tasks.rogue.bleesing.utils import get_regex_from_keyword_name, parse_name, is_card_selected
# normal blessing filter
# path name

View File

@ -6,9 +6,9 @@ from module.ocr.ocr import OcrResultButton
from tasks.rogue.assets.assets_rogue_blessing import OCR_ROGUE_BUFF
from tasks.rogue.assets.assets_rogue_bonus import BONUS_BOTTOM_WHITE_BAR, BONUS_CONFIRM
from tasks.rogue.keywords import RogueBonus
from tasks.rogue.selector import RogueSelector
from tasks.rogue.ui import RogueBonusOcr
from tasks.rogue.utils import is_card_selected
from tasks.rogue.bleesing.selector import RogueSelector
from tasks.rogue.bleesing.ui import RogueBonusOcr
from tasks.rogue.bleesing.utils import is_card_selected
class RogueBonusSelector(RogueSelector):

View File

@ -10,9 +10,9 @@ from module.ocr.ocr import Ocr, OcrResultButton
from tasks.rogue.assets.assets_rogue_curio import *
from tasks.rogue.assets.assets_rogue_ui import BLESSING_CONFIRM
from tasks.rogue.keywords import RogueCurio
from tasks.rogue.preset import CURIO_PRESET_1
from tasks.rogue.selector import RogueSelector
from tasks.rogue.utils import get_regex_from_keyword_name, parse_name
from tasks.rogue.bleesing.preset import CURIO_PRESET_1
from tasks.rogue.bleesing.selector import RogueSelector
from tasks.rogue.bleesing.utils import get_regex_from_keyword_name, parse_name
CURIO_FILTER_ATTR = tuple()
CURIO_ATTR_NAME = 'curio_name'

View File

@ -3,7 +3,7 @@ import numpy as np
from module.logger import logger
from module.ocr.keyword import Keyword
from module.ocr.ocr import OcrResultButton
from tasks.rogue.ui import RogueUI
from tasks.rogue.bleesing.ui import RogueUI
class RogueSelector: