StarRailCopilot/route/rogue/Combat/Jarilo_SilvermaneGuardRestrictedZone_F1.py
2023-10-07 23:18:29 +08:00

136 lines
6.1 KiB
Python

from tasks.map.control.waypoint import Waypoint
from tasks.map.keywords.plane import Jarilo_SilvermaneGuardRestrictedZone
from tasks.rogue.route.base import RouteBase
class Route(RouteBase):
def Jarilo_SilvermaneGuardRestrictedZone_F1_X221Y426(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((221.3, 426.1)), | 274.2 | 274 |
| item | Waypoint((195.9, 434.9)), | 237.2 | 234 |
| enemy | Waypoint((172.9, 425.9)), | 274.2 | 274 |
| exit | Waypoint((172.9, 425.9)), | 274.2 | 274 |
"""
self.map_init(plane=Jarilo_SilvermaneGuardRestrictedZone, floor="F1", position=(221.3, 426.1))
self.register_domain_exit(Waypoint((172.9, 425.9)), end_rotation=274)
item = Waypoint((195.9, 434.9))
enemy = Waypoint((172.9, 425.9))
# ===== End of generated waypoints =====
self.clear_item(item)
self.clear_enemy(enemy)
def Jarilo_SilvermaneGuardRestrictedZone_F1_X227Y425(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((227.7, 425.5)), | 274.2 | 274 |
| item | Waypoint((208.3, 414.8)), | 303.8 | 301 |
| enemy | Waypoint((170.2, 426.2)), | 274.2 | 274 |
| exit | Waypoint((170.2, 426.2)), | 274.2 | 274 |
"""
self.map_init(plane=Jarilo_SilvermaneGuardRestrictedZone, floor="F1", position=(227.7, 425.5))
self.register_domain_exit(Waypoint((170.2, 426.2)), end_rotation=274)
item = Waypoint((208.3, 414.8))
enemy = Waypoint((170.2, 426.2))
# ===== End of generated waypoints =====
# Ignore item
self.clear_enemy(enemy)
def Jarilo_SilvermaneGuardRestrictedZone_F1_X371Y425(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((371.6, 425.3)), | 274.2 | 274 |
| enemy1 | Waypoint((304.0, 424.2)), | 274.2 | 276 |
| enemy2 | Waypoint((247.9, 426.4)), | 11.2 | 45 |
| enemy3 | Waypoint((163.9, 426.5)), | 282.9 | 278 |
| exit | Waypoint((163.9, 426.5)), | 282.9 | 278 |
"""
self.map_init(plane=Jarilo_SilvermaneGuardRestrictedZone, floor="F1", position=(371.6, 425.3))
self.register_domain_exit(Waypoint((163.9, 426.5)), end_rotation=278)
enemy1 = Waypoint((304.0, 424.2))
enemy2 = Waypoint((247.9, 426.4))
enemy3 = Waypoint((163.9, 426.5))
# ===== End of generated waypoints =====
self.clear_enemy(enemy1)
self.clear_enemy(enemy2)
self.clear_enemy(enemy3)
def Jarilo_SilvermaneGuardRestrictedZone_F1_X419Y180(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((419.4, 179.8)), | 166.8 | 163 |
| enemy | Waypoint((437.0, 227.2)), | 166.6 | 156 |
| exit | Waypoint((437.0, 227.2)), | 166.6 | 156 |
"""
self.map_init(plane=Jarilo_SilvermaneGuardRestrictedZone, floor="F1", position=(419.4, 179.8))
self.register_domain_exit(Waypoint((437.0, 227.2)), end_rotation=156)
enemy = Waypoint((437.0, 227.2))
# ===== End of generated waypoints =====
self.clear_enemy(enemy)
def Jarilo_SilvermaneGuardRestrictedZone_F1_X421Y173(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((421.5, 173.4)), | 172.8 | 165 |
| item | Waypoint((418.5, 218.3)), | 183.8 | 181 |
| enemy | Waypoint((440.2, 232.4)), | 166.6 | 154 |
| exit | Waypoint((440.2, 232.4)), | 166.6 | 154 |
"""
self.map_init(plane=Jarilo_SilvermaneGuardRestrictedZone, floor="F1", position=(421.5, 173.4))
self.register_domain_exit(Waypoint((440.2, 232.4)), end_rotation=154)
item = Waypoint((418.5, 218.3))
enemy = Waypoint((440.2, 232.4))
# ===== End of generated waypoints =====
self.clear_item(item)
self.clear_enemy(enemy)
def Jarilo_SilvermaneGuardRestrictedZone_F1_X547Y467(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((547.1, 467.0)), | 190.1 | 184 |
| item1 | Waypoint((562.4, 528.4)), | 203.1 | 200 |
| enemy1 | Waypoint((566.2, 572.0)), | 282.8 | 181 |
| item2 | Waypoint((574.0, 583.2)), | 139.4 | 140 |
| enemy3 | Waypoint((542.6, 613.0)), | 239.8 | 237 |
| enemy4 | Waypoint((494.2, 611.8)), | 274.2 | 274 |
| item3 | Waypoint((536.4, 628.1)), | 210.2 | 204 |
| exit | Waypoint((494.2, 611.8)), | 274.2 | 274 |
"""
self.map_init(plane=Jarilo_SilvermaneGuardRestrictedZone, floor="F1", position=(547.1, 467.0))
self.register_domain_exit(Waypoint((494.2, 611.8)), end_rotation=274)
item1 = Waypoint((562.4, 528.4))
enemy1 = Waypoint((566.2, 572.0))
item2 = Waypoint((574.0, 583.2))
enemy3 = Waypoint((542.6, 613.0))
enemy4 = Waypoint((494.2, 611.8))
item3 = Waypoint((536.4, 628.1))
# ===== End of generated waypoints =====
# 1
self.clear_item(item1)
self.clear_enemy(enemy1)
self.clear_item(item2)
# 3
self.clear_enemy(
enemy3.straight_run(),
)
self.clear_item(
item3,
)
# 4
self.clear_enemy(
enemy4.straight_run(),
)