Refactor: Move assets to tasks/rogue/weekly

This commit is contained in:
LmeSzinc 2023-10-19 10:10:18 +08:00
parent 2fcc0c76ef
commit fe39645e59
13 changed files with 12 additions and 12 deletions

View File

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -6,7 +6,7 @@ from module.base.button import Button, ButtonWrapper
CLAIM_ALL = ButtonWrapper(
name='CLAIM_ALL',
share=Button(
file='./assets/share/rogue/reward/CLAIM_ALL.png',
file='./assets/share/rogue/weekly/CLAIM_ALL.png',
area=(871, 524, 1146, 560),
search=(851, 504, 1166, 580),
color=(238, 186, 85),
@ -16,7 +16,7 @@ CLAIM_ALL = ButtonWrapper(
REWARD_CHECK = ButtonWrapper(
name='REWARD_CHECK',
share=Button(
file='./assets/share/rogue/reward/REWARD_CHECK.png',
file='./assets/share/rogue/weekly/REWARD_CHECK.png',
area=(152, 504, 187, 532),
search=(132, 484, 207, 552),
color=(131, 130, 126),
@ -26,7 +26,7 @@ REWARD_CHECK = ButtonWrapper(
REWARD_CLOSE = ButtonWrapper(
name='REWARD_CLOSE',
share=Button(
file='./assets/share/rogue/reward/REWARD_CLOSE.png',
file='./assets/share/rogue/weekly/REWARD_CLOSE.png',
area=(1139, 137, 1169, 167),
search=(1119, 117, 1189, 187),
color=(64, 64, 64),
@ -36,7 +36,7 @@ REWARD_CLOSE = ButtonWrapper(
REWARD_ENTER = ButtonWrapper(
name='REWARD_ENTER',
share=Button(
file='./assets/share/rogue/reward/REWARD_ENTER.png',
file='./assets/share/rogue/weekly/REWARD_ENTER.png',
area=(59, 601, 92, 629),
search=(39, 581, 112, 649),
color=(128, 128, 129),
@ -46,7 +46,7 @@ REWARD_ENTER = ButtonWrapper(
REWARD_RED_DOT = ButtonWrapper(
name='REWARD_RED_DOT',
share=Button(
file='./assets/share/rogue/reward/REWARD_RED_DOT.png',
file='./assets/share/rogue/weekly/REWARD_RED_DOT.png',
area=(94, 582, 122, 610),
search=(74, 562, 142, 630),
color=(130, 67, 71),
@ -56,7 +56,7 @@ REWARD_RED_DOT = ButtonWrapper(
ROGUE_REPORT = ButtonWrapper(
name='ROGUE_REPORT',
share=Button(
file='./assets/share/rogue/reward/ROGUE_REPORT.png',
file='./assets/share/rogue/weekly/ROGUE_REPORT.png',
area=(1198, 19, 1223, 42),
search=(1178, 0, 1243, 62),
color=(203, 165, 119),

View File

@ -4,7 +4,7 @@ from module.base.utils import area_offset
from module.logger import logger
from module.ocr.ocr import Digit, Ocr, OcrResultButton
from tasks.base.ui import UI
from tasks.rogue.assets.assets_rogue_reward import REWARD_ENTER
from tasks.rogue.assets.assets_rogue_weekly import REWARD_ENTER
from tasks.rogue.assets.assets_rogue_ui import *
from tasks.rogue.keywords import RoguePath

View File

@ -22,10 +22,10 @@ from tasks.rogue.assets.assets_rogue_entry import (
WORLD_PREV,
)
from tasks.rogue.assets.assets_rogue_path import CONFIRM_PATH
from tasks.rogue.assets.assets_rogue_reward import REWARD_CLOSE, REWARD_ENTER
from tasks.rogue.assets.assets_rogue_ui import ROGUE_LAUNCH
from tasks.rogue.assets.assets_rogue_weekly import REWARD_CLOSE, REWARD_ENTER
from tasks.rogue.entry.path import RoguePathHandler
from tasks.rogue.entry.reward import RogueRewardHandler
from tasks.rogue.entry.weekly import RogueRewardHandler
from tasks.rogue.exception import RogueReachedWeeklyPointLimit

View File

@ -1,6 +1,6 @@
from module.base.timer import Timer
from module.logger import logger
from tasks.rogue.assets.assets_rogue_reward import CLAIM_ALL, REWARD_CHECK, REWARD_CLOSE, REWARD_ENTER, REWARD_RED_DOT
from tasks.rogue.assets.assets_rogue_weekly import CLAIM_ALL, REWARD_CHECK, REWARD_CLOSE, REWARD_ENTER, REWARD_RED_DOT
from tasks.rogue.bleesing.ui import RogueUI

View File

@ -5,8 +5,8 @@ from module.logger import logger
from tasks.base.page import page_rogue
from tasks.map.control.waypoint import Waypoint, ensure_waypoints
from tasks.map.route.base import RouteBase as RouteBase_
from tasks.rogue.assets.assets_rogue_reward import ROGUE_REPORT
from tasks.rogue.assets.assets_rogue_ui import BLESSING_CONFIRM
from tasks.rogue.assets.assets_rogue_weekly import ROGUE_REPORT
from tasks.rogue.bleesing.blessing import RogueBlessingSelector
from tasks.rogue.bleesing.bonus import RogueBonusSelector
from tasks.rogue.bleesing.curio import RogueCurioSelector

View File

@ -12,8 +12,8 @@ from tasks.base.page import page_rogue
from tasks.combat.interact import CombatInteract
from tasks.map.keywords import KEYWORDS_MAP_PLANE, MapPlane
from tasks.rogue.assets.assets_rogue_exit import OCR_DOMAIN_EXIT
from tasks.rogue.assets.assets_rogue_reward import ROGUE_REPORT
from tasks.rogue.assets.assets_rogue_ui import BLESSING_CONFIRM
from tasks.rogue.assets.assets_rogue_weekly import ROGUE_REPORT
def area_center(area):