StarRailCopilot/route/daily/OrnamentExtraction.py

23 lines
690 B
Python
Raw Normal View History

2024-07-01 15:06:41 +00:00
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
2024-07-01 15:06:41 +00:00
)