StarRailCopilot/route/rogue/Elite/Luofu_AlchemyCommission_F2.py

53 lines
2.1 KiB
Python
Raw Permalink Normal View History

2023-11-16 17:32:32 +00:00
from tasks.map.control.waypoint import Waypoint
from tasks.map.keywords.plane import Luofu_AlchemyCommission
from tasks.rogue.route.base import RouteBase
class Route(RouteBase):
def Luofu_AlchemyCommission_F2_X625Y590(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((623.1, 590.0)), | 282.2 | 274 |
| enemy | Waypoint((571.6, 589.5)), | 282.0 | 274 |
| reward | Waypoint((563.5, 581.4)), | 281.9 | 274 |
| exit_ | Waypoint((555.5, 597.3)), | 267.8 | 264 |
"""
self.map_init(plane=Luofu_AlchemyCommission, floor="F2", position=(623.1, 590.0))
enemy = Waypoint((571.6, 589.5))
reward = Waypoint((563.5, 581.4))
exit_ = Waypoint((555.5, 597.3))
self.clear_elite(enemy)
self.domain_reward(reward)
self.domain_single_exit(exit_)
# ===== End of generated waypoints =====
2024-03-12 17:05:19 +00:00
def Luofu_AlchemyCommission_F2_X664Y545(self):
"""
| Waypoint | Position | Direction | Rotation |
| -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((623.1, 590.0)), | 282.2 | 274 |
| enemy | Waypoint((571.6, 589.5)), | 282.0 | 274 |
| reward | Waypoint((563.5, 581.4)), | 281.9 | 274 |
| exit_ | Waypoint((555.5, 597.3)), | 267.8 | 264 |
"""
self.map_init(plane=Luofu_AlchemyCommission, floor="F2", position=(664.2, 546.8))
enemy = Waypoint((571.6, 589.5))
reward = Waypoint((563.5, 581.4))
exit_ = Waypoint((555.5, 597.3))
self.clear_elite(enemy)
self.domain_reward(reward)
self.domain_single_exit(exit_)
# ===== End of generated waypoints =====
"""
Notes
Luofu_AlchemyCommission_F2_X664Y545 is the same as Luofu_AlchemyCommission_F2_X625Y590
but for wrong spawn point detected
Spawn point is too far from the correct result but should be fine in Boss room
"""