mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
Upd: Rogue routes
This commit is contained in:
parent
198a9fd810
commit
9ab86eb1c7
@ -168,6 +168,7 @@ class Route(RouteBase):
|
||||
enemy2 = Waypoint((273.9, 584.9))
|
||||
# ===== End of generated waypoints =====
|
||||
|
||||
self.rotation_set(270)
|
||||
# 1
|
||||
self.clear_item(
|
||||
item1.straight_run(),
|
||||
@ -179,6 +180,41 @@ class Route(RouteBase):
|
||||
self.clear_item(item2)
|
||||
self.clear_enemy(enemy2)
|
||||
|
||||
def Luofu_Cloudford_F1_X433Y617(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
| -------- | ------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((433.5, 616.8)), | 358.2 | 4 |
|
||||
| node1 | Waypoint((431.5, 593.4)), | 2.7 | 357 |
|
||||
| item1 | Waypoint((371.8, 592.8)), | 263.8 | 267 |
|
||||
| enemy1 | Waypoint((341.2, 586.8)), | 274.2 | 274 |
|
||||
| item2 | Waypoint((310.4, 582.2)), | 289.0 | 288 |
|
||||
| enemy2 | Waypoint((273.9, 584.9)), | 274.1 | 271 |
|
||||
| exit_ | Waypoint((273.9, 584.9)), | 274.1 | 271 |
|
||||
"""
|
||||
self.map_init(plane=Luofu_Cloudford, floor="F1", position=(433.5, 616.8))
|
||||
self.register_domain_exit(Waypoint((273.9, 584.9)), end_rotation=271)
|
||||
node1 = Waypoint((431.5, 593.4))
|
||||
item1 = Waypoint((371.8, 592.8))
|
||||
enemy1 = Waypoint((341.2, 586.8))
|
||||
item2 = Waypoint((310.4, 582.2))
|
||||
enemy2 = Waypoint((273.9, 584.9))
|
||||
# ===== End of generated waypoints =====
|
||||
|
||||
# Similar to Luofu_Cloudford_F1_X431Y593, but has different spawn point
|
||||
self.rotation_set(270)
|
||||
# 1
|
||||
self.clear_item(
|
||||
node1.set_threshold(3),
|
||||
item1.straight_run(),
|
||||
)
|
||||
self.clear_enemy(
|
||||
enemy1.straight_run(),
|
||||
)
|
||||
# 2
|
||||
self.clear_item(item2)
|
||||
self.clear_enemy(enemy2)
|
||||
|
||||
def Luofu_Cloudford_F1_X435Y669(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
|
@ -1,6 +1,5 @@
|
||||
from tasks.map.control.waypoint import Waypoint
|
||||
from tasks.map.keywords.plane import Luofu_AlchemyCommission
|
||||
from tasks.map.route.base import locked_position
|
||||
from tasks.rogue.route.base import RouteBase
|
||||
|
||||
|
||||
@ -24,3 +23,30 @@ class Route(RouteBase):
|
||||
self.domain_reward(reward)
|
||||
self.domain_single_exit(exit_)
|
||||
# ===== End of generated waypoints =====
|
||||
|
||||
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
|
||||
"""
|
||||
|
@ -868,6 +868,17 @@
|
||||
],
|
||||
"domain": "Combat"
|
||||
},
|
||||
{
|
||||
"name": "Combat_Luofu_Cloudford_F1_X433Y617",
|
||||
"route": "route.rogue.Combat.Luofu_Cloudford_F1:Luofu_Cloudford_F1_X433Y617",
|
||||
"plane": "Luofu_Cloudford",
|
||||
"floor": "F1",
|
||||
"position": [
|
||||
433.5,
|
||||
616.8
|
||||
],
|
||||
"domain": "Combat"
|
||||
},
|
||||
{
|
||||
"name": "Combat_Luofu_Cloudford_F1_X435Y669",
|
||||
"route": "route.rogue.Combat.Luofu_Cloudford_F1:Luofu_Cloudford_F1_X435Y669",
|
||||
@ -1330,6 +1341,17 @@
|
||||
],
|
||||
"domain": "Elite"
|
||||
},
|
||||
{
|
||||
"name": "Elite_Luofu_AlchemyCommission_F2_X664Y545",
|
||||
"route": "route.rogue.Elite.Luofu_AlchemyCommission_F2:Luofu_AlchemyCommission_F2_X664Y545",
|
||||
"plane": "Luofu_AlchemyCommission",
|
||||
"floor": "F2",
|
||||
"position": [
|
||||
664.2,
|
||||
546.8
|
||||
],
|
||||
"domain": "Elite"
|
||||
},
|
||||
{
|
||||
"name": "Elite_Luofu_ArtisanshipCommission_F1_X385Y494",
|
||||
"route": "route.rogue.Elite.Luofu_ArtisanshipCommission_F1:Luofu_ArtisanshipCommission_F1_X385Y494",
|
||||
|
Loading…
Reference in New Issue
Block a user