StarRailCopilot/route/rogue/Combat/Herta_SupplyZone_F2Rogue.py
LmeSzinc 0bf4b45c8c Upd: Regenerate rogue routes
regen Combat/Herta
regen Combat/Jarlio
regen Combat/Luofu
regen Elite
regen Occurrence
regen Respite
Update position
2023-11-14 02:26:12 +08:00

69 lines
3.0 KiB
Python

from tasks.map.control.waypoint import Waypoint
from tasks.map.keywords.plane import Herta_SupplyZone
from tasks.rogue.route.base import RouteBase
class Route(RouteBase):
def Herta_SupplyZone_F2Rogue_X209Y112(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((219.6, 112.8)), | 96.7 | 91 |
| item | Waypoint((227.4, 105.1)), | 67.2 | 61 |
| enemy | Waypoint((264.2, 114.1)), | 101.1 | 98 |
| exit_ | Waypoint((266.7, 113.7)), | 60.8 | 91 |
"""
self.map_init(plane=Herta_SupplyZone, floor="F2Rogue", position=(209.6, 112.8))
self.register_domain_exit(Waypoint((266.7, 113.7)), end_rotation=91)
item = Waypoint((227.4, 105.1))
enemy = Waypoint((264.2, 114.1))
# ===== End of generated waypoints =====
"""
Notes:
Herta_SupplyZone_F2Rogue_X209Y112 is the same as Herta_SupplyZone_F2Rogue_X219Y112 to handle detection errors
"""
self.clear_item(item)
self.clear_enemy(enemy)
def Herta_SupplyZone_F2Rogue_X215Y112(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((219.6, 112.8)), | 96.7 | 91 |
| item | Waypoint((227.4, 105.1)), | 67.2 | 61 |
| enemy | Waypoint((264.2, 114.1)), | 101.1 | 98 |
| exit_ | Waypoint((266.7, 113.7)), | 60.8 | 91 |
"""
self.map_init(plane=Herta_SupplyZone, floor="F2Rogue", position=(215.6, 112.8))
self.register_domain_exit(Waypoint((266.7, 113.7)), end_rotation=91)
item = Waypoint((227.4, 105.1))
enemy = Waypoint((264.2, 114.1))
# ===== End of generated waypoints =====
"""
Notes:
Herta_SupplyZone_F2Rogue_X215Y112 is the same as Herta_SupplyZone_F2Rogue_X219Y112 to handle detection errors
"""
self.clear_item(item)
self.clear_enemy(enemy)
def Herta_SupplyZone_F2Rogue_X219Y112(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((219.6, 112.8)), | 96.7 | 91 |
| item | Waypoint((227.4, 105.1)), | 67.2 | 61 |
| enemy | Waypoint((264.2, 114.1)), | 101.1 | 98 |
| exit_ | Waypoint((266.7, 113.7)), | 60.8 | 91 |
"""
self.map_init(plane=Herta_SupplyZone, floor="F2Rogue", position=(219.6, 112.8))
self.register_domain_exit(Waypoint((266.7, 113.7)), end_rotation=91)
item = Waypoint((227.4, 105.1))
enemy = Waypoint((264.2, 114.1))
# ===== End of generated waypoints =====
self.clear_item(item)
self.clear_enemy(enemy)