mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
23 lines
690 B
Python
23 lines
690 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,
|
|
poor_try=True
|
|
)
|