mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-27 02:27:12 +00:00
45 lines
1.9 KiB
Python
45 lines
1.9 KiB
Python
from tasks.map.control.waypoint import Waypoint
|
|
from tasks.map.keywords.plane import Luofu_ArtisanshipCommission
|
|
from tasks.rogue.route.base import RouteBase
|
|
|
|
|
|
class Route(RouteBase):
|
|
|
|
def Luofu_ArtisanshipCommission_F1_X385Y494(self):
|
|
"""
|
|
| Waypoint | Position | Direction | Rotation |
|
|
| -------- | ------------------------- | --------- | -------- |
|
|
| spawn | Waypoint((385.2, 494.6)), | 94.2 | 91 |
|
|
| enemy | Waypoint((444.2, 490.5)), | 94.2 | 91 |
|
|
| reward | Waypoint((448.6, 497.2)), | 149.7 | 91 |
|
|
| exit_ | Waypoint((458.0, 483.7)), | 94.2 | 91 |
|
|
"""
|
|
self.map_init(plane=Luofu_ArtisanshipCommission, floor="F1", position=(385.2, 494.6))
|
|
enemy = Waypoint((444.2, 490.5))
|
|
reward = Waypoint((448.6, 497.2))
|
|
exit_ = Waypoint((458.0, 483.7))
|
|
|
|
self.clear_elite(enemy)
|
|
self.domain_reward(reward)
|
|
self.domain_single_exit(exit_)
|
|
# ===== End of generated waypoints =====
|
|
|
|
def Luofu_ArtisanshipCommission_F1_X504Y493(self):
|
|
"""
|
|
| Waypoint | Position | Direction | Rotation |
|
|
| -------- | ------------------------- | --------- | -------- |
|
|
| spawn | Waypoint((504.0, 493.4)), | 96.7 | 91 |
|
|
| enemy | Waypoint((554.0, 492.2)), | 96.7 | 91 |
|
|
| reward | Waypoint((564.8, 498.9)), | 134.2 | 128 |
|
|
| exit_ | Waypoint((572.8, 486.4)), | 76.4 | 68 |
|
|
"""
|
|
self.map_init(plane=Luofu_ArtisanshipCommission, floor="F1", position=(504.0, 493.4))
|
|
enemy = Waypoint((554.0, 492.2))
|
|
reward = Waypoint((564.8, 498.9))
|
|
exit_ = Waypoint((572.8, 486.4))
|
|
|
|
self.clear_elite(enemy)
|
|
self.domain_reward(reward)
|
|
self.domain_single_exit(exit_)
|
|
# ===== End of generated waypoints =====
|