mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
a6044c2229
of Jarilo_BackwaterPass_F1_X611Y761 and Jarilo_SilvermaneGuardRestrictedZone_F1_X435Y233
105 lines
5.1 KiB
Python
105 lines
5.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_X377Y505(self):
|
|
"""
|
|
| Waypoint | Position | Direction | Rotation |
|
|
| -------- | ------------------------- | --------- | -------- |
|
|
| spawn | Waypoint((377.4, 505.6)), | 96.7 | 91 |
|
|
| item | Waypoint((397.0, 514.4)), | 119.8 | 117 |
|
|
| event | Waypoint((422.2, 506.4)), | 92.7 | 84 |
|
|
| exit_ | Waypoint((423.8, 505.7)), | 96.8 | 91 |
|
|
| exit1 | Waypoint((433.7, 501.3)), | 96.8 | 91 |
|
|
| exit2 | Waypoint((434.7, 511.4)), | 96.8 | 91 |
|
|
"""
|
|
self.map_init(plane=Jarilo_SilvermaneGuardRestrictedZone, floor="F1", position=(377.4, 505.6))
|
|
self.register_domain_exit(
|
|
Waypoint((423.8, 505.7)), end_rotation=91,
|
|
left_door=Waypoint((433.7, 501.3)), right_door=Waypoint((434.7, 511.4)))
|
|
item = Waypoint((397.0, 514.4))
|
|
event = Waypoint((422.2, 506.4))
|
|
|
|
self.clear_item(item)
|
|
self.clear_event(event)
|
|
# ===== End of generated waypoints =====
|
|
|
|
def Jarilo_SilvermaneGuardRestrictedZone_F1_X439Y237(self):
|
|
"""
|
|
| Waypoint | Position | Direction | Rotation |
|
|
| -------- | ------------------------- | --------- | -------- |
|
|
| spawn | Waypoint((439.3, 237.1)), | 354.1 | 348 |
|
|
| item | Waypoint((440.8, 215.2)), | 15.6 | 11 |
|
|
| event | Waypoint((434.8, 192.4)), | 355.9 | 359 |
|
|
| exit_ | Waypoint((428.6, 190.4)), | 76.4 | 338 |
|
|
| exit1 | Waypoint((416.8, 184.4)), | 337.5 | 334 |
|
|
| exit2 | Waypoint((428.8, 180.4)), | 339.1 | 336 |
|
|
"""
|
|
self.map_init(plane=Jarilo_SilvermaneGuardRestrictedZone, floor="F1", position=(439.3, 237.1))
|
|
self.register_domain_exit(
|
|
Waypoint((428.6, 190.4)), end_rotation=338,
|
|
left_door=Waypoint((416.8, 184.4)), right_door=Waypoint((428.8, 180.4)))
|
|
item = Waypoint((440.8, 215.2))
|
|
event = Waypoint((434.8, 192.4))
|
|
|
|
self.clear_item(item)
|
|
self.clear_event(event)
|
|
# ===== End of generated waypoints =====
|
|
|
|
def Jarilo_SilvermaneGuardRestrictedZone_F1_X435Y233(self):
|
|
"""
|
|
| Waypoint | Position | Direction | Rotation |
|
|
| -------- | ------------------------- | --------- | -------- |
|
|
| spawn | Waypoint((439.3, 237.1)), | 354.1 | 348 |
|
|
| item | Waypoint((440.8, 215.2)), | 15.6 | 11 |
|
|
| event | Waypoint((434.8, 192.4)), | 355.9 | 359 |
|
|
| exit_ | Waypoint((428.6, 190.4)), | 76.4 | 338 |
|
|
| exit1 | Waypoint((416.8, 184.4)), | 337.5 | 334 |
|
|
| exit2 | Waypoint((428.8, 180.4)), | 339.1 | 336 |
|
|
"""
|
|
self.map_init(plane=Jarilo_SilvermaneGuardRestrictedZone, floor="F1", position=(435.5, 233.5))
|
|
self.register_domain_exit(
|
|
Waypoint((428.6, 190.4)), end_rotation=338,
|
|
left_door=Waypoint((416.8, 184.4)), right_door=Waypoint((428.8, 180.4)))
|
|
item = Waypoint((440.8, 215.2))
|
|
event = Waypoint((434.8, 192.4))
|
|
|
|
self.clear_item(item)
|
|
self.clear_event(event)
|
|
# ===== End of generated waypoints =====
|
|
# Best 3 predictions: [
|
|
# ('Occurrence_Jarilo_SilvermaneGuardRestrictedZone_F1_X439Y237', 0.194, (435.5, 233.5)),
|
|
# ('Occurrence_Luofu_ScalegorgeWaterscape_F1_X619Y387', 0.118, (593.5, 412.0)),
|
|
# ('Occurrence_Luofu_Cloudford_F1_X244Y951', 0.098, (193.8, 931.7))
|
|
# ]
|
|
"""
|
|
Notes
|
|
Jarilo_SilvermaneGuardRestrictedZone_F1_X435Y233 is the same as Jarilo_SilvermaneGuardRestrictedZone_F1_X439Y237
|
|
but for wrong spawn point detected
|
|
"""
|
|
|
|
def Jarilo_SilvermaneGuardRestrictedZone_F1_X509Y541(self):
|
|
"""
|
|
| Waypoint | Position | Direction | Rotation |
|
|
| -------- | ------------------------- | --------- | -------- |
|
|
| spawn | Waypoint((509.4, 541.3)), | 96.7 | 91 |
|
|
| item | Waypoint((539.4, 533.0)), | 76.4 | 66 |
|
|
| event | Waypoint((552.9, 547.7)), | 105.5 | 98 |
|
|
| exit_ | Waypoint((561.6, 541.5)), | 96.7 | 94 |
|
|
| exit1 | Waypoint((568.2, 535.2)), | 96.8 | 96 |
|
|
| exit2 | Waypoint((566.9, 546.3)), | 96.7 | 91 |
|
|
"""
|
|
self.map_init(plane=Jarilo_SilvermaneGuardRestrictedZone, floor="F1", position=(509.4, 541.3))
|
|
self.register_domain_exit(
|
|
Waypoint((561.6, 541.5)), end_rotation=94,
|
|
left_door=Waypoint((568.2, 535.2)), right_door=Waypoint((566.9, 546.3)))
|
|
item = Waypoint((539.4, 533.0))
|
|
event = Waypoint((552.9, 547.7))
|
|
|
|
self.clear_item(item)
|
|
self.clear_event(event)
|
|
# ===== End of generated waypoints =====
|