Refactor: Move assets to tasks/rogue/weekly
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
@ -6,7 +6,7 @@ from module.base.button import Button, ButtonWrapper
|
|||||||
CLAIM_ALL = ButtonWrapper(
|
CLAIM_ALL = ButtonWrapper(
|
||||||
name='CLAIM_ALL',
|
name='CLAIM_ALL',
|
||||||
share=Button(
|
share=Button(
|
||||||
file='./assets/share/rogue/reward/CLAIM_ALL.png',
|
file='./assets/share/rogue/weekly/CLAIM_ALL.png',
|
||||||
area=(871, 524, 1146, 560),
|
area=(871, 524, 1146, 560),
|
||||||
search=(851, 504, 1166, 580),
|
search=(851, 504, 1166, 580),
|
||||||
color=(238, 186, 85),
|
color=(238, 186, 85),
|
||||||
@ -16,7 +16,7 @@ CLAIM_ALL = ButtonWrapper(
|
|||||||
REWARD_CHECK = ButtonWrapper(
|
REWARD_CHECK = ButtonWrapper(
|
||||||
name='REWARD_CHECK',
|
name='REWARD_CHECK',
|
||||||
share=Button(
|
share=Button(
|
||||||
file='./assets/share/rogue/reward/REWARD_CHECK.png',
|
file='./assets/share/rogue/weekly/REWARD_CHECK.png',
|
||||||
area=(152, 504, 187, 532),
|
area=(152, 504, 187, 532),
|
||||||
search=(132, 484, 207, 552),
|
search=(132, 484, 207, 552),
|
||||||
color=(131, 130, 126),
|
color=(131, 130, 126),
|
||||||
@ -26,7 +26,7 @@ REWARD_CHECK = ButtonWrapper(
|
|||||||
REWARD_CLOSE = ButtonWrapper(
|
REWARD_CLOSE = ButtonWrapper(
|
||||||
name='REWARD_CLOSE',
|
name='REWARD_CLOSE',
|
||||||
share=Button(
|
share=Button(
|
||||||
file='./assets/share/rogue/reward/REWARD_CLOSE.png',
|
file='./assets/share/rogue/weekly/REWARD_CLOSE.png',
|
||||||
area=(1139, 137, 1169, 167),
|
area=(1139, 137, 1169, 167),
|
||||||
search=(1119, 117, 1189, 187),
|
search=(1119, 117, 1189, 187),
|
||||||
color=(64, 64, 64),
|
color=(64, 64, 64),
|
||||||
@ -36,7 +36,7 @@ REWARD_CLOSE = ButtonWrapper(
|
|||||||
REWARD_ENTER = ButtonWrapper(
|
REWARD_ENTER = ButtonWrapper(
|
||||||
name='REWARD_ENTER',
|
name='REWARD_ENTER',
|
||||||
share=Button(
|
share=Button(
|
||||||
file='./assets/share/rogue/reward/REWARD_ENTER.png',
|
file='./assets/share/rogue/weekly/REWARD_ENTER.png',
|
||||||
area=(59, 601, 92, 629),
|
area=(59, 601, 92, 629),
|
||||||
search=(39, 581, 112, 649),
|
search=(39, 581, 112, 649),
|
||||||
color=(128, 128, 129),
|
color=(128, 128, 129),
|
||||||
@ -46,7 +46,7 @@ REWARD_ENTER = ButtonWrapper(
|
|||||||
REWARD_RED_DOT = ButtonWrapper(
|
REWARD_RED_DOT = ButtonWrapper(
|
||||||
name='REWARD_RED_DOT',
|
name='REWARD_RED_DOT',
|
||||||
share=Button(
|
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),
|
area=(94, 582, 122, 610),
|
||||||
search=(74, 562, 142, 630),
|
search=(74, 562, 142, 630),
|
||||||
color=(130, 67, 71),
|
color=(130, 67, 71),
|
||||||
@ -56,7 +56,7 @@ REWARD_RED_DOT = ButtonWrapper(
|
|||||||
ROGUE_REPORT = ButtonWrapper(
|
ROGUE_REPORT = ButtonWrapper(
|
||||||
name='ROGUE_REPORT',
|
name='ROGUE_REPORT',
|
||||||
share=Button(
|
share=Button(
|
||||||
file='./assets/share/rogue/reward/ROGUE_REPORT.png',
|
file='./assets/share/rogue/weekly/ROGUE_REPORT.png',
|
||||||
area=(1198, 19, 1223, 42),
|
area=(1198, 19, 1223, 42),
|
||||||
search=(1178, 0, 1243, 62),
|
search=(1178, 0, 1243, 62),
|
||||||
color=(203, 165, 119),
|
color=(203, 165, 119),
|
@ -4,7 +4,7 @@ from module.base.utils import area_offset
|
|||||||
from module.logger import logger
|
from module.logger import logger
|
||||||
from module.ocr.ocr import Digit, Ocr, OcrResultButton
|
from module.ocr.ocr import Digit, Ocr, OcrResultButton
|
||||||
from tasks.base.ui import UI
|
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.assets.assets_rogue_ui import *
|
||||||
from tasks.rogue.keywords import RoguePath
|
from tasks.rogue.keywords import RoguePath
|
||||||
|
|
||||||
|
@ -22,10 +22,10 @@ from tasks.rogue.assets.assets_rogue_entry import (
|
|||||||
WORLD_PREV,
|
WORLD_PREV,
|
||||||
)
|
)
|
||||||
from tasks.rogue.assets.assets_rogue_path import CONFIRM_PATH
|
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_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.path import RoguePathHandler
|
||||||
from tasks.rogue.entry.reward import RogueRewardHandler
|
from tasks.rogue.entry.weekly import RogueRewardHandler
|
||||||
from tasks.rogue.exception import RogueReachedWeeklyPointLimit
|
from tasks.rogue.exception import RogueReachedWeeklyPointLimit
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
from module.base.timer import Timer
|
from module.base.timer import Timer
|
||||||
from module.logger import logger
|
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
|
from tasks.rogue.bleesing.ui import RogueUI
|
||||||
|
|
||||||
|
|
@ -5,8 +5,8 @@ from module.logger import logger
|
|||||||
from tasks.base.page import page_rogue
|
from tasks.base.page import page_rogue
|
||||||
from tasks.map.control.waypoint import Waypoint, ensure_waypoints
|
from tasks.map.control.waypoint import Waypoint, ensure_waypoints
|
||||||
from tasks.map.route.base import RouteBase as RouteBase_
|
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_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.blessing import RogueBlessingSelector
|
||||||
from tasks.rogue.bleesing.bonus import RogueBonusSelector
|
from tasks.rogue.bleesing.bonus import RogueBonusSelector
|
||||||
from tasks.rogue.bleesing.curio import RogueCurioSelector
|
from tasks.rogue.bleesing.curio import RogueCurioSelector
|
||||||
|
@ -12,8 +12,8 @@ from tasks.base.page import page_rogue
|
|||||||
from tasks.combat.interact import CombatInteract
|
from tasks.combat.interact import CombatInteract
|
||||||
from tasks.map.keywords import KEYWORDS_MAP_PLANE, MapPlane
|
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_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_ui import BLESSING_CONFIRM
|
||||||
|
from tasks.rogue.assets.assets_rogue_weekly import ROGUE_REPORT
|
||||||
|
|
||||||
|
|
||||||
def area_center(area):
|
def area_center(area):
|
||||||
|