mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 08:37:42 +00:00
Add: Rogue routes
This commit is contained in:
parent
0b1c9a1c9d
commit
e1d1bc7e83
@ -257,8 +257,9 @@ class RouteDetect:
|
||||
def call(func, name):
|
||||
ws = waypoints.filter(lambda x: x.waypoint.startswith(name)).get('waypoint')
|
||||
ws = ['exit_' if w == 'exit' else w for w in ws]
|
||||
ws = ', '.join(ws)
|
||||
gen.add(f'self.{func}({ws})')
|
||||
if ws:
|
||||
ws = ', '.join(ws)
|
||||
gen.add(f'self.{func}({ws})')
|
||||
|
||||
with gen.tab():
|
||||
with gen.Def(name=spawn.route, args='self'):
|
||||
|
@ -55,7 +55,7 @@ class Route(RouteBase):
|
||||
item1.straight_run(),
|
||||
)
|
||||
# enemy12
|
||||
self.clear_item(
|
||||
self.clear_enemy(
|
||||
enemy1.straight_run(),
|
||||
enemy2,
|
||||
)
|
||||
|
@ -66,3 +66,49 @@ class Route(RouteBase):
|
||||
|
||||
self.clear_item(item_X227Y105)
|
||||
self.clear_enemy(enemy)
|
||||
|
||||
def Herta_SupplyZone_F2_X397Y233(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
| -------- | ------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((397.4, 233.5)), | 6.7 | 4 |
|
||||
| item | Waypoint((65.2, 49.2)), | 48.1 | 45 |
|
||||
| enemy | Waypoint((48.3, 25.4)), | 12.6 | 179 |
|
||||
| exit | Waypoint((47.4, 29.7)), | 356.3 | 4 |
|
||||
"""
|
||||
self.map_init(plane=Herta_SupplyZone, floor="F2", position=(397.4, 233.5))
|
||||
self.register_domain_exit(Waypoint((47.4, 29.7)), end_rotation=4)
|
||||
item = Waypoint((65.2, 49.2))
|
||||
enemy = Waypoint((48.3, 25.4))
|
||||
# ===== End of generated waypoints =====
|
||||
|
||||
# Ignore item, bad way
|
||||
self.clear_enemy(enemy)
|
||||
|
||||
def Herta_SupplyZone_F2_X658Y247(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
| -------- | ------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((656.7, 247.5)), | 274.2 | 274 |
|
||||
| item1 | Waypoint((664.9, 264.2)), | 282.8 | 276 |
|
||||
| enemy1 | Waypoint((542.2, 246.2)), | 302.7 | 301 |
|
||||
| enemy3 | Waypoint((586.5, 128.3)), | 87.7 | 260 |
|
||||
| enemy2 | Waypoint((542.2, 168.6)), | 11.1 | 177 |
|
||||
| item3 | Waypoint((564.2, 130.9)), | 67.2 | 66 |
|
||||
| exit | Waypoint((586.9, 135.8)), | 266.1 | 361 |
|
||||
"""
|
||||
self.map_init(plane=Herta_SupplyZone, floor="F2", position=(656.7, 247.5))
|
||||
self.register_domain_exit(Waypoint((586.9, 135.8)), end_rotation=361)
|
||||
item1 = Waypoint((664.9, 264.2))
|
||||
enemy1 = Waypoint((542.2, 246.2))
|
||||
enemy3 = Waypoint((586.5, 128.3))
|
||||
enemy2 = Waypoint((542.2, 168.6))
|
||||
item3 = Waypoint((564.2, 130.9))
|
||||
# ===== End of generated waypoints =====
|
||||
|
||||
self.clear_item(item1)
|
||||
self.clear_enemy(enemy1)
|
||||
self.clear_enemy(enemy2.straight_run())
|
||||
|
||||
self.clear_item(item3.straight_run())
|
||||
self.clear_enemy(enemy3.straight_run())
|
||||
|
@ -61,6 +61,24 @@ class Route(RouteBase):
|
||||
# ignore item, bad way
|
||||
self.clear_enemy(node, enemy)
|
||||
|
||||
def Jarilo_GreatMine_F1_X299Y254(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
| -------- | ------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((299.3, 255.3)), | 274.2 | 274 |
|
||||
| item | Waypoint((282.4, 240.8)), | 295.5 | 292 |
|
||||
| enemy | Waypoint((246.2, 248.4)), | 282.8 | 281 |
|
||||
| exit | Waypoint((246.6, 248.8)), | 96.8 | 274 |
|
||||
"""
|
||||
self.map_init(plane=Jarilo_GreatMine, floor="F1", position=(299.3, 255.3))
|
||||
self.register_domain_exit(Waypoint((246.6, 248.8)), end_rotation=274)
|
||||
item = Waypoint((282.4, 240.8))
|
||||
enemy = Waypoint((246.2, 248.4))
|
||||
# ===== End of generated waypoints =====
|
||||
|
||||
# Ignore item, bad way
|
||||
self.clear_enemy(enemy)
|
||||
|
||||
def Jarilo_GreatMine_F1_X407Y572(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
@ -136,9 +154,9 @@ class Route(RouteBase):
|
||||
| -------- | ------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((545.3, 513.0)), | 222.5 | 218 |
|
||||
| item2 | Waypoint((486.8, 523.6)), | 76.5 | 255 |
|
||||
| enemy2 | Waypoint((478.3, 519.6)), | 21.0 | 18 |
|
||||
| item3 | Waypoint((480.0, 490.2)), | 350.2 | 345 |
|
||||
| enemy1 | Waypoint((492.2, 562.0)), | 237.4 | 50 |
|
||||
| node2 | Waypoint((468.4, 532.2)), | 30.1 | 27 |
|
||||
| enemy3 | Waypoint((485.1, 456.8)), | 102.9 | 4 |
|
||||
| node1 | Waypoint((478.5, 576.5)), | 237.2 | 237 |
|
||||
| item1 | Waypoint((461.4, 572.2)), | 289.1 | 288 |
|
||||
@ -147,9 +165,9 @@ class Route(RouteBase):
|
||||
self.map_init(plane=Jarilo_GreatMine, floor="F1", position=(545.3, 513.0))
|
||||
self.register_domain_exit(Waypoint((485.1, 456.8)), end_rotation=4)
|
||||
item2 = Waypoint((486.8, 523.6))
|
||||
enemy2 = Waypoint((478.3, 519.6))
|
||||
item3 = Waypoint((480.0, 490.2))
|
||||
enemy1 = Waypoint((492.2, 562.0))
|
||||
node2 = Waypoint((468.4, 532.2))
|
||||
enemy3 = Waypoint((485.1, 456.8))
|
||||
node1 = Waypoint((478.5, 576.5))
|
||||
item1 = Waypoint((461.4, 572.2))
|
||||
@ -163,10 +181,9 @@ class Route(RouteBase):
|
||||
node1,
|
||||
item1.straight_run(),
|
||||
)
|
||||
# 2
|
||||
self.clear_item(
|
||||
node2.straight_run(),
|
||||
item2,
|
||||
# 2, ignore item2, bad way
|
||||
self.goto(
|
||||
enemy2.straight_run()
|
||||
)
|
||||
# 3
|
||||
self.clear_item(
|
||||
|
@ -84,7 +84,7 @@ class Route(RouteBase):
|
||||
| enemy1right | Waypoint((290.0, 276.0)), | 198.7 | 195 |
|
||||
| enemy1left | Waypoint((310.1, 281.1)), | 105.5 | 101 |
|
||||
| item2 | Waypoint((326.2, 298.0)), | 151.8 | 140 |
|
||||
| node3 | Waypoint((318.6, 334.8)), | 195.2 | 6 |
|
||||
| enemy2 | Waypoint((318.6, 334.8)), | 195.2 | 6 |
|
||||
| enemy3 | Waypoint((316.4, 385.0)), | 223.8 | 45 |
|
||||
| exit | Waypoint((314.6, 385.0)), | 289.0 | 188 |
|
||||
"""
|
||||
@ -94,7 +94,7 @@ class Route(RouteBase):
|
||||
enemy1right = Waypoint((290.0, 276.0))
|
||||
enemy1left = Waypoint((310.1, 281.1))
|
||||
item2 = Waypoint((326.2, 298.0))
|
||||
node3 = Waypoint((318.6, 334.8))
|
||||
enemy2 = Waypoint((318.6, 334.8))
|
||||
enemy3 = Waypoint((316.4, 385.0))
|
||||
# ===== End of generated waypoints =====
|
||||
|
||||
@ -107,8 +107,10 @@ class Route(RouteBase):
|
||||
self.clear_item(
|
||||
item2.straight_run(),
|
||||
)
|
||||
self.clear_enemy(
|
||||
enemy2.straight_run(),
|
||||
)
|
||||
# 3
|
||||
self.clear_enemy(
|
||||
node3.straight_run(),
|
||||
enemy3,
|
||||
)
|
||||
|
@ -56,11 +56,9 @@ class Route(RouteBase):
|
||||
enemy = Waypoint((197.2, 947.4))
|
||||
# ===== End of generated waypoints =====
|
||||
|
||||
# item at corner
|
||||
self.clear_item(item)
|
||||
# ignore item
|
||||
# self.clear_item(item)
|
||||
self.clear_enemy(
|
||||
# Get back to main road first
|
||||
node,
|
||||
enemy,
|
||||
)
|
||||
|
||||
|
43
route/rogue/Combat/Luofu_Cloudford_F2.py
Normal file
43
route/rogue/Combat/Luofu_Cloudford_F2.py
Normal file
@ -0,0 +1,43 @@
|
||||
from tasks.map.control.waypoint import Waypoint
|
||||
from tasks.map.keywords.plane import Luofu_Cloudford
|
||||
from tasks.rogue.route.base import RouteBase
|
||||
|
||||
|
||||
class Route(RouteBase):
|
||||
|
||||
def Luofu_Cloudford_F2_X425Y171(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
| ----------- | ------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((425.5, 171.6)), | 190.1 | 184 |
|
||||
| item1 | Waypoint((436.8, 203.6)), | 166.7 | 161 |
|
||||
| item2 | Waypoint((407.1, 205.3)), | 181.3 | 177 |
|
||||
| enemy2right | Waypoint((407.2, 253.0)), | 311.8 | 274 |
|
||||
| enemy2left | Waypoint((435.0, 254.6)), | 181.3 | 174 |
|
||||
| item3 | Waypoint((382.4, 275.3)), | 250.8 | 251 |
|
||||
| enemy3 | Waypoint((318.8, 267.0)), | 279.8 | 281 |
|
||||
| exit | Waypoint((324.8, 268.5)), | 283.0 | 278 |
|
||||
"""
|
||||
self.map_init(plane=Luofu_Cloudford, floor="F2", position=(425.5, 171.6))
|
||||
self.register_domain_exit(Waypoint((324.8, 268.5)), end_rotation=278)
|
||||
item1 = Waypoint((436.8, 203.6))
|
||||
item2 = Waypoint((407.1, 205.3))
|
||||
enemy2right = Waypoint((407.2, 253.0))
|
||||
enemy2left = Waypoint((435.0, 254.6))
|
||||
item3 = Waypoint((382.4, 275.3))
|
||||
enemy3 = Waypoint((318.8, 267.0))
|
||||
# ===== End of generated waypoints =====
|
||||
|
||||
# Items are randomly generated in 4 position, ignore all
|
||||
# self.clear_item(item1)
|
||||
# self.clear_item(item2)
|
||||
self.clear_enemy(
|
||||
enemy2left,
|
||||
enemy2right.straight_run(),
|
||||
)
|
||||
# 3
|
||||
# self.clear_item(item3.straight_run())
|
||||
self.clear_enemy(
|
||||
enemy2right,
|
||||
enemy3.straight_run()
|
||||
)
|
42
route/rogue/Combat/Luofu_StargazerNavalia_F1.py
Normal file
42
route/rogue/Combat/Luofu_StargazerNavalia_F1.py
Normal file
@ -0,0 +1,42 @@
|
||||
from tasks.map.control.waypoint import Waypoint
|
||||
from tasks.map.keywords.plane import Luofu_StargazerNavalia
|
||||
from tasks.rogue.route.base import RouteBase
|
||||
|
||||
|
||||
class Route(RouteBase):
|
||||
|
||||
def Luofu_StargazerNavalia_F1_X183Y315(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
| -------- | ------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((183.4, 315.6)), | 98.9 | 89 |
|
||||
| item | Waypoint((208.5, 306.1)), | 82.5 | 80 |
|
||||
| enemy | Waypoint((247.4, 320.2)), | 114.1 | 112 |
|
||||
| exit | Waypoint((701.4, 523.4)), | 274.2 | 89 |
|
||||
"""
|
||||
self.map_init(plane=Luofu_StargazerNavalia, floor="F1", position=(183.4, 315.6))
|
||||
self.register_domain_exit(Waypoint((701.4, 523.4)), end_rotation=89)
|
||||
item = Waypoint((208.5, 306.1))
|
||||
enemy = Waypoint((247.4, 320.2))
|
||||
# ===== End of generated waypoints =====
|
||||
|
||||
self.clear_item(item)
|
||||
self.clear_enemy(enemy)
|
||||
|
||||
def Luofu_StargazerNavalia_F1_X499Y581(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
| -------- | ------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((499.6, 581.5)), | 157.2 | 151 |
|
||||
| item | Waypoint((499.1, 608.9)), | 180.0 | 179 |
|
||||
| enemy | Waypoint((519.0, 623.0)), | 149.8 | 149 |
|
||||
| exit | Waypoint((524.4, 624.7)), | 166.7 | 161 |
|
||||
"""
|
||||
self.map_init(plane=Luofu_StargazerNavalia, floor="F1", position=(499.6, 581.5))
|
||||
self.register_domain_exit(Waypoint((524.4, 624.7)), end_rotation=161)
|
||||
item = Waypoint((499.1, 608.9))
|
||||
enemy = Waypoint((519.0, 623.0))
|
||||
# ===== End of generated waypoints =====
|
||||
|
||||
self.clear_item(item)
|
||||
self.clear_enemy(enemy)
|
31
route/rogue/Combat/Luofu_StargazerNavalia_F2.py
Normal file
31
route/rogue/Combat/Luofu_StargazerNavalia_F2.py
Normal file
@ -0,0 +1,31 @@
|
||||
from tasks.map.control.waypoint import Waypoint
|
||||
from tasks.map.keywords.plane import Luofu_StargazerNavalia
|
||||
from tasks.rogue.route.base import RouteBase
|
||||
|
||||
|
||||
class Route(RouteBase):
|
||||
|
||||
def Luofu_StargazerNavalia_F2_X627Y179(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
| -------- | ------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((627.8, 179.5)), | 274.2 | 274 |
|
||||
| item1 | Waypoint((574.0, 172.5)), | 303.8 | 304 |
|
||||
| enemy1 | Waypoint((571.9, 180.5)), | 282.8 | 276 |
|
||||
| item2 | Waypoint((504.8, 177.2)), | 283.0 | 278 |
|
||||
| enemy2 | Waypoint((488.6, 188.2)), | 282.3 | 274 |
|
||||
| exit | Waypoint((486.5, 191.4)), | 182.7 | 274 |
|
||||
"""
|
||||
self.map_init(plane=Luofu_StargazerNavalia, floor="F2", position=(627.8, 179.5))
|
||||
self.register_domain_exit(Waypoint((486.5, 191.4)), end_rotation=274)
|
||||
item1 = Waypoint((574.0, 172.5))
|
||||
enemy1 = Waypoint((571.9, 180.5))
|
||||
item2 = Waypoint((504.8, 177.2))
|
||||
enemy2 = Waypoint((488.6, 188.2))
|
||||
# ===== End of generated waypoints =====
|
||||
|
||||
# 1, enemy first
|
||||
self.clear_enemy(enemy1)
|
||||
self.clear_item(item1)
|
||||
# 2, ignore item2, bad way
|
||||
self.clear_enemy(enemy2)
|
25
route/rogue/Elite/Luofu_StargazerNavalia_F1.py
Normal file
25
route/rogue/Elite/Luofu_StargazerNavalia_F1.py
Normal file
@ -0,0 +1,25 @@
|
||||
from tasks.map.control.waypoint import Waypoint
|
||||
from tasks.map.keywords.plane import Luofu_StargazerNavalia
|
||||
from tasks.rogue.route.base import RouteBase
|
||||
|
||||
|
||||
class Route(RouteBase):
|
||||
|
||||
def Luofu_StargazerNavalia_F1_X617Y511(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
| -------- | ------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((617.5, 511.5)), | 96.7 | 91 |
|
||||
| enemy | Waypoint((664.6, 512.6)), | 96.8 | 94 |
|
||||
| reward | Waypoint((677.1, 521.2)), | 212.8 | 108 |
|
||||
| exit | Waypoint((684.6, 505.0)), | 91.3 | 82 |
|
||||
"""
|
||||
self.map_init(plane=Luofu_StargazerNavalia, floor="F1", position=(617.5, 511.5))
|
||||
enemy = Waypoint((664.6, 512.6))
|
||||
reward = Waypoint((677.1, 521.2))
|
||||
exit_ = Waypoint((684.6, 505.0))
|
||||
|
||||
self.clear_elite(enemy)
|
||||
self.domain_reward(reward)
|
||||
self.domain_single_exit(exit_)
|
||||
# ===== End of generated waypoints =====
|
24
route/rogue/Occurrence/Herta_StorageZone_F2.py
Normal file
24
route/rogue/Occurrence/Herta_StorageZone_F2.py
Normal file
@ -0,0 +1,24 @@
|
||||
from tasks.map.control.waypoint import Waypoint
|
||||
from tasks.map.keywords.plane import Herta_StorageZone
|
||||
from tasks.rogue.route.base import RouteBase
|
||||
|
||||
|
||||
class Route(RouteBase):
|
||||
|
||||
def Herta_StorageZone_F2_X365Y167(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
| -------- | ------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((363.4, 166.9)), | 274.2 | 274 |
|
||||
| item | Waypoint((332.8, 172.0)), | 263.8 | 260 |
|
||||
| event | Waypoint((318.9, 155.2)), | 290.1 | 285 |
|
||||
| exit | Waypoint((298.5, 162.7)), | 271.8 | 269 |
|
||||
"""
|
||||
self.map_init(plane=Herta_StorageZone, floor="F2", position=(363.4, 166.9))
|
||||
self.register_domain_exit(Waypoint((298.5, 162.7)), end_rotation=269)
|
||||
item = Waypoint((332.8, 172.0))
|
||||
event = Waypoint((318.9, 155.2))
|
||||
|
||||
self.clear_item(item)
|
||||
self.clear_event(event)
|
||||
# ===== End of generated waypoints =====
|
@ -30,10 +30,10 @@ class Route(RouteBase):
|
||||
| spawn | Waypoint((613.3, 755.7)), | 319.8 | 318 |
|
||||
| item | Waypoint((603.0, 734.6)), | 342.6 | 343 |
|
||||
| event | Waypoint((586.8, 724.7)), | 318.0 | 315 |
|
||||
| exit | Waypoint((568.6, 730.6)), | 274.2 | 271 |
|
||||
| exit | Waypoint((576.9, 728.6)), | 126.2 | 304 |
|
||||
"""
|
||||
self.map_init(plane=Jarilo_BackwaterPass, floor="F1", position=(613.3, 755.7))
|
||||
self.register_domain_exit(Waypoint((568.6, 730.6)), end_rotation=271)
|
||||
self.register_domain_exit(Waypoint((576.9, 728.6)), end_rotation=304)
|
||||
item = Waypoint((603.0, 734.6))
|
||||
event = Waypoint((586.8, 724.7))
|
||||
|
||||
|
39
route/rogue/Occurrence/Jarilo_CorridorofFadingEchoes_F1.py
Normal file
39
route/rogue/Occurrence/Jarilo_CorridorofFadingEchoes_F1.py
Normal file
@ -0,0 +1,39 @@
|
||||
from tasks.map.control.waypoint import Waypoint
|
||||
from tasks.map.keywords.plane import Jarilo_CorridorofFadingEchoes
|
||||
from tasks.rogue.route.base import RouteBase
|
||||
|
||||
|
||||
class Route(RouteBase):
|
||||
|
||||
def Jarilo_CorridorofFadingEchoes_F1_X236Y903(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
| -------- | ------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((236.6, 903.4)), | 274.2 | 274 |
|
||||
| event | Waypoint((278.4, 972.0)), | 289.1 | 290 |
|
||||
| exit | Waypoint((169.2, 904.0)), | 261.8 | 269 |
|
||||
"""
|
||||
self.map_init(plane=Jarilo_CorridorofFadingEchoes, floor="F1", position=(236.6, 903.4))
|
||||
self.register_domain_exit(Waypoint((169.2, 904.0)), end_rotation=269)
|
||||
event = Waypoint((278.4, 972.0))
|
||||
|
||||
self.clear_event(event)
|
||||
# ===== End of generated waypoints =====
|
||||
|
||||
def Jarilo_CorridorofFadingEchoes_F1_X265Y963(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
| -------- | -------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((265.5, 963.6)), | 233.8 | 230 |
|
||||
| item | Waypoint((250.1, 970.4)), | 157.2 | 244 |
|
||||
| event | Waypoint((231.8, 991.0)), | 233.9 | 230 |
|
||||
| exit | Waypoint((227.6, 1000.4)), | 229.9 | 228 |
|
||||
"""
|
||||
self.map_init(plane=Jarilo_CorridorofFadingEchoes, floor="F1", position=(265.5, 963.6))
|
||||
self.register_domain_exit(Waypoint((227.6, 1000.4)), end_rotation=228)
|
||||
item = Waypoint((250.1, 970.4))
|
||||
event = Waypoint((231.8, 991.0))
|
||||
|
||||
self.clear_item(item)
|
||||
self.clear_event(event)
|
||||
# ===== End of generated waypoints =====
|
@ -0,0 +1,42 @@
|
||||
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 |
|
||||
"""
|
||||
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)
|
||||
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 |
|
||||
"""
|
||||
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)
|
||||
item = Waypoint((440.8, 215.2))
|
||||
event = Waypoint((434.8, 192.4))
|
||||
|
||||
self.clear_item(item)
|
||||
self.clear_event(event)
|
||||
# ===== End of generated waypoints =====
|
25
route/rogue/Respite/Herta_SupplyZone_F2.py
Normal file
25
route/rogue/Respite/Herta_SupplyZone_F2.py
Normal file
@ -0,0 +1,25 @@
|
||||
from tasks.map.control.waypoint import Waypoint
|
||||
from tasks.map.keywords.plane import Herta_SupplyZone
|
||||
from tasks.rogue.route.base import RouteBase
|
||||
|
||||
|
||||
class Route(RouteBase):
|
||||
|
||||
def Herta_SupplyZone_F2_X554Y245(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
| -------- | ------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((554.6, 245.0)), | 274.2 | 274 |
|
||||
| item | Waypoint((541.9, 238.4)), | 308.0 | 301 |
|
||||
| herta | Waypoint((506.8, 238.4)), | 283.0 | 281 |
|
||||
| exit | Waypoint((495.0, 244.8)), | 283.0 | 274 |
|
||||
"""
|
||||
self.map_init(plane=Herta_SupplyZone, floor="F2", position=(554.6, 245.0))
|
||||
item = Waypoint((541.9, 238.4))
|
||||
herta = Waypoint((506.8, 238.4))
|
||||
exit_ = Waypoint((495.0, 244.8))
|
||||
|
||||
self.clear_item(item)
|
||||
self.domain_herta(herta)
|
||||
self.domain_single_exit(exit_)
|
||||
# ===== End of generated waypoints =====
|
25
route/rogue/Respite/Luofu_StargazerNavalia_F2Rogue.py
Normal file
25
route/rogue/Respite/Luofu_StargazerNavalia_F2Rogue.py
Normal file
@ -0,0 +1,25 @@
|
||||
from tasks.map.control.waypoint import Waypoint
|
||||
from tasks.map.keywords.plane import Luofu_StargazerNavalia
|
||||
from tasks.rogue.route.base import RouteBase
|
||||
|
||||
|
||||
class Route(RouteBase):
|
||||
|
||||
def Luofu_StargazerNavalia_F2Rogue_X574Y275(self):
|
||||
"""
|
||||
| Waypoint | Position | Direction | Rotation |
|
||||
| -------- | ------------------------- | --------- | -------- |
|
||||
| spawn | Waypoint((574.8, 275.0)), | 256.7 | 253 |
|
||||
| item | Waypoint((553.4, 273.2)), | 294.6 | 292 |
|
||||
| herta | Waypoint((533.4, 286.9)), | 271.8 | 269 |
|
||||
| exit | Waypoint((515.4, 299.2)), | 239.8 | 239 |
|
||||
"""
|
||||
self.map_init(plane=Luofu_StargazerNavalia, floor="F2Rogue", position=(574.8, 275.0))
|
||||
item = Waypoint((553.4, 273.2))
|
||||
herta = Waypoint((533.4, 286.9))
|
||||
exit_ = Waypoint((515.4, 299.2))
|
||||
|
||||
self.clear_item(item)
|
||||
self.domain_herta(herta)
|
||||
self.domain_single_exit(exit_)
|
||||
# ===== End of generated waypoints =====
|
@ -65,6 +65,28 @@
|
||||
],
|
||||
"domain": "Combat"
|
||||
},
|
||||
{
|
||||
"name": "Combat_Herta_SupplyZone_F2_X397Y233",
|
||||
"route": "route.rogue.Combat.Herta_SupplyZone_F2:Herta_SupplyZone_F2_X397Y233",
|
||||
"plane": "Herta_SupplyZone",
|
||||
"floor": "F2",
|
||||
"position": [
|
||||
397.4,
|
||||
233.5
|
||||
],
|
||||
"domain": "Combat"
|
||||
},
|
||||
{
|
||||
"name": "Combat_Herta_SupplyZone_F2_X658Y247",
|
||||
"route": "route.rogue.Combat.Herta_SupplyZone_F2:Herta_SupplyZone_F2_X658Y247",
|
||||
"plane": "Herta_SupplyZone",
|
||||
"floor": "F2",
|
||||
"position": [
|
||||
656.7,
|
||||
247.5
|
||||
],
|
||||
"domain": "Combat"
|
||||
},
|
||||
{
|
||||
"name": "Combat_Jarilo_BackwaterPass_F1_X475Y49",
|
||||
"route": "route.rogue.Combat.Jarilo_BackwaterPass_F1:Jarilo_BackwaterPass_F1_X475Y49",
|
||||
@ -153,6 +175,17 @@
|
||||
],
|
||||
"domain": "Combat"
|
||||
},
|
||||
{
|
||||
"name": "Combat_Jarilo_GreatMine_F1_X299Y254",
|
||||
"route": "route.rogue.Combat.Jarilo_GreatMine_F1:Jarilo_GreatMine_F1_X299Y254",
|
||||
"plane": "Jarilo_GreatMine",
|
||||
"floor": "F1",
|
||||
"position": [
|
||||
299.3,
|
||||
255.3
|
||||
],
|
||||
"domain": "Combat"
|
||||
},
|
||||
{
|
||||
"name": "Combat_Jarilo_GreatMine_F1_X407Y572",
|
||||
"route": "route.rogue.Combat.Jarilo_GreatMine_F1:Jarilo_GreatMine_F1_X407Y572",
|
||||
@ -329,6 +362,50 @@
|
||||
],
|
||||
"domain": "Combat"
|
||||
},
|
||||
{
|
||||
"name": "Combat_Luofu_Cloudford_F2_X425Y171",
|
||||
"route": "route.rogue.Combat.Luofu_Cloudford_F2:Luofu_Cloudford_F2_X425Y171",
|
||||
"plane": "Luofu_Cloudford",
|
||||
"floor": "F2",
|
||||
"position": [
|
||||
425.5,
|
||||
171.6
|
||||
],
|
||||
"domain": "Combat"
|
||||
},
|
||||
{
|
||||
"name": "Combat_Luofu_StargazerNavalia_F1_X183Y315",
|
||||
"route": "route.rogue.Combat.Luofu_StargazerNavalia_F1:Luofu_StargazerNavalia_F1_X183Y315",
|
||||
"plane": "Luofu_StargazerNavalia",
|
||||
"floor": "F1",
|
||||
"position": [
|
||||
183.4,
|
||||
315.6
|
||||
],
|
||||
"domain": "Combat"
|
||||
},
|
||||
{
|
||||
"name": "Combat_Luofu_StargazerNavalia_F1_X499Y581",
|
||||
"route": "route.rogue.Combat.Luofu_StargazerNavalia_F1:Luofu_StargazerNavalia_F1_X499Y581",
|
||||
"plane": "Luofu_StargazerNavalia",
|
||||
"floor": "F1",
|
||||
"position": [
|
||||
499.6,
|
||||
581.5
|
||||
],
|
||||
"domain": "Combat"
|
||||
},
|
||||
{
|
||||
"name": "Combat_Luofu_StargazerNavalia_F2_X627Y179",
|
||||
"route": "route.rogue.Combat.Luofu_StargazerNavalia_F2:Luofu_StargazerNavalia_F2_X627Y179",
|
||||
"plane": "Luofu_StargazerNavalia",
|
||||
"floor": "F2",
|
||||
"position": [
|
||||
627.8,
|
||||
179.5
|
||||
],
|
||||
"domain": "Combat"
|
||||
},
|
||||
{
|
||||
"name": "Elite_Herta_StorageZone_F1_X477Y233",
|
||||
"route": "route.rogue.Elite.Herta_StorageZone_F1:Herta_StorageZone_F1_X477Y233",
|
||||
@ -406,6 +483,28 @@
|
||||
],
|
||||
"domain": "Elite"
|
||||
},
|
||||
{
|
||||
"name": "Elite_Luofu_StargazerNavalia_F1_X617Y511",
|
||||
"route": "route.rogue.Elite.Luofu_StargazerNavalia_F1:Luofu_StargazerNavalia_F1_X617Y511",
|
||||
"plane": "Luofu_StargazerNavalia",
|
||||
"floor": "F1",
|
||||
"position": [
|
||||
617.5,
|
||||
511.5
|
||||
],
|
||||
"domain": "Elite"
|
||||
},
|
||||
{
|
||||
"name": "Occurrence_Herta_StorageZone_F2_X365Y167",
|
||||
"route": "route.rogue.Occurrence.Herta_StorageZone_F2:Herta_StorageZone_F2_X365Y167",
|
||||
"plane": "Herta_StorageZone",
|
||||
"floor": "F2",
|
||||
"position": [
|
||||
363.4,
|
||||
166.9
|
||||
],
|
||||
"domain": "Occurrence"
|
||||
},
|
||||
{
|
||||
"name": "Occurrence_Jarilo_BackwaterPass_F1_X437Y101",
|
||||
"route": "route.rogue.Occurrence.Jarilo_BackwaterPass_F1:Jarilo_BackwaterPass_F1_X437Y101",
|
||||
@ -428,6 +527,50 @@
|
||||
],
|
||||
"domain": "Occurrence"
|
||||
},
|
||||
{
|
||||
"name": "Occurrence_Jarilo_CorridorofFadingEchoes_F1_X236Y903",
|
||||
"route": "route.rogue.Occurrence.Jarilo_CorridorofFadingEchoes_F1:Jarilo_CorridorofFadingEchoes_F1_X236Y903",
|
||||
"plane": "Jarilo_CorridorofFadingEchoes",
|
||||
"floor": "F1",
|
||||
"position": [
|
||||
236.6,
|
||||
903.4
|
||||
],
|
||||
"domain": "Occurrence"
|
||||
},
|
||||
{
|
||||
"name": "Occurrence_Jarilo_CorridorofFadingEchoes_F1_X265Y963",
|
||||
"route": "route.rogue.Occurrence.Jarilo_CorridorofFadingEchoes_F1:Jarilo_CorridorofFadingEchoes_F1_X265Y963",
|
||||
"plane": "Jarilo_CorridorofFadingEchoes",
|
||||
"floor": "F1",
|
||||
"position": [
|
||||
265.5,
|
||||
963.6
|
||||
],
|
||||
"domain": "Occurrence"
|
||||
},
|
||||
{
|
||||
"name": "Occurrence_Jarilo_SilvermaneGuardRestrictedZone_F1_X377Y505",
|
||||
"route": "route.rogue.Occurrence.Jarilo_SilvermaneGuardRestrictedZone_F1:Jarilo_SilvermaneGuardRestrictedZone_F1_X377Y505",
|
||||
"plane": "Jarilo_SilvermaneGuardRestrictedZone",
|
||||
"floor": "F1",
|
||||
"position": [
|
||||
377.4,
|
||||
505.6
|
||||
],
|
||||
"domain": "Occurrence"
|
||||
},
|
||||
{
|
||||
"name": "Occurrence_Jarilo_SilvermaneGuardRestrictedZone_F1_X439Y237",
|
||||
"route": "route.rogue.Occurrence.Jarilo_SilvermaneGuardRestrictedZone_F1:Jarilo_SilvermaneGuardRestrictedZone_F1_X439Y237",
|
||||
"plane": "Jarilo_SilvermaneGuardRestrictedZone",
|
||||
"floor": "F1",
|
||||
"position": [
|
||||
439.3,
|
||||
237.1
|
||||
],
|
||||
"domain": "Occurrence"
|
||||
},
|
||||
{
|
||||
"name": "Occurrence_Luofu_ArtisanshipCommission_F1_X169Y491",
|
||||
"route": "route.rogue.Occurrence.Luofu_ArtisanshipCommission_F1:Luofu_ArtisanshipCommission_F1_X169Y491",
|
||||
@ -472,6 +615,17 @@
|
||||
],
|
||||
"domain": "Respite"
|
||||
},
|
||||
{
|
||||
"name": "Respite_Herta_SupplyZone_F2_X554Y245",
|
||||
"route": "route.rogue.Respite.Herta_SupplyZone_F2:Herta_SupplyZone_F2_X554Y245",
|
||||
"plane": "Herta_SupplyZone",
|
||||
"floor": "F2",
|
||||
"position": [
|
||||
554.6,
|
||||
245.0
|
||||
],
|
||||
"domain": "Respite"
|
||||
},
|
||||
{
|
||||
"name": "Respite_Jarilo_BackwaterPass_F1_X581Y403",
|
||||
"route": "route.rogue.Respite.Jarilo_BackwaterPass_F1:Jarilo_BackwaterPass_F1_X581Y403",
|
||||
@ -537,5 +691,16 @@
|
||||
933.4
|
||||
],
|
||||
"domain": "Respite"
|
||||
},
|
||||
{
|
||||
"name": "Respite_Luofu_StargazerNavalia_F2Rogue_X574Y275",
|
||||
"route": "route.rogue.Respite.Luofu_StargazerNavalia_F2Rogue:Luofu_StargazerNavalia_F2Rogue_X574Y275",
|
||||
"plane": "Luofu_StargazerNavalia",
|
||||
"floor": "F2Rogue",
|
||||
"position": [
|
||||
574.8,
|
||||
275.0
|
||||
],
|
||||
"domain": "Respite"
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user