StarRailCopilot/route/daily/OrnamentExtraction.py
2024-07-01 23:18:22 +08:00

22 lines
663 B
Python

from module.logger import logger
from tasks.combat.combat import Combat
from tasks.map.control.waypoint import Waypoint
from tasks.map.keywords.plane import Penacony_TheReverieReality
from tasks.map.route.base import RouteBase
class Route(RouteBase, Combat):
def route(self):
"""
Pages:
in: Any
out: page_forgotten_hall
"""
logger.hr('Route Ornament Extraction', level=1)
self.map_init(plane=Penacony_TheReverieReality, position=(245.3, 233.3))
boss = Waypoint((245.2, 193.6))
boss.expected_end = [self.is_combat_executing]
self.clear_enemy(
boss
)