mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-25 18:05:26 +00:00
22 lines
663 B
Python
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
|
||
|
)
|