Upd: Rogue routes

This commit is contained in:
LmeSzinc 2023-12-07 00:42:10 +08:00
parent e398c79687
commit 616c4a19ca
5 changed files with 14 additions and 5 deletions

View File

@ -229,7 +229,7 @@ class Route(RouteBase):
enemy2 = Waypoint((556.4, 206.8)) enemy2 = Waypoint((556.4, 206.8))
# ===== End of generated waypoints ===== # ===== End of generated waypoints =====
self.rotation_set(135) self.rotation_set(120)
self.clear_item(item) self.clear_item(item)
self.clear_enemy(enemy1) self.clear_enemy(enemy1)
self.rotation_set(180) self.rotation_set(180)

View File

@ -89,7 +89,7 @@ class Route(RouteBase):
| -------- | ------------------------- | --------- | -------- | | -------- | ------------------------- | --------- | -------- |
| spawn | Waypoint((567.4, 280.2)), | 274.2 | 274 | | spawn | Waypoint((567.4, 280.2)), | 274.2 | 274 |
| enemy1 | Waypoint((495.3, 273.7)), | 219.9 | 292 | | enemy1 | Waypoint((495.3, 273.7)), | 219.9 | 292 |
| node2 | Waypoint((482.8, 252.6)), | 337.3 | 336 | | node2 | Waypoint((491.3, 269.4)), | 339.1 | 334 |
| enemy2 | Waypoint((485.0, 211.7)), | 17.3 | 15 | | enemy2 | Waypoint((485.0, 211.7)), | 17.3 | 15 |
| item2 | Waypoint((472.6, 228.6)), | 342.0 | 343 | | item2 | Waypoint((472.6, 228.6)), | 342.0 | 343 |
| exit_ | Waypoint((485.0, 211.7)), | 17.3 | 15 | | exit_ | Waypoint((485.0, 211.7)), | 17.3 | 15 |
@ -101,7 +101,7 @@ class Route(RouteBase):
Waypoint((485.0, 211.7)), end_rotation=15, Waypoint((485.0, 211.7)), end_rotation=15,
left_door=Waypoint((481.4, 207.3)), right_door=Waypoint((491.0, 209.4))) left_door=Waypoint((481.4, 207.3)), right_door=Waypoint((491.0, 209.4)))
enemy1 = Waypoint((495.3, 273.7)) enemy1 = Waypoint((495.3, 273.7))
node2 = Waypoint((482.8, 252.6)) node2 = Waypoint((491.3, 269.4))
enemy2 = Waypoint((485.0, 211.7)) enemy2 = Waypoint((485.0, 211.7))
item2 = Waypoint((472.6, 228.6)) item2 = Waypoint((472.6, 228.6))
# ===== End of generated waypoints ===== # ===== End of generated waypoints =====
@ -111,7 +111,7 @@ class Route(RouteBase):
self.rotation_set(0) self.rotation_set(0)
self.minimap.lock_rotation(0) self.minimap.lock_rotation(0)
self.clear_item( self.clear_item(
node2, node2.set_threshold(5),
item2, item2,
) )
self.clear_enemy( self.clear_enemy(

View File

@ -32,9 +32,13 @@ class Route(RouteBase):
| item | Waypoint((250.1, 970.4)), | 157.2 | 244 | | item | Waypoint((250.1, 970.4)), | 157.2 | 244 |
| event | Waypoint((231.8, 991.0)), | 233.9 | 230 | | event | Waypoint((231.8, 991.0)), | 233.9 | 230 |
| exit_ | Waypoint((227.6, 1000.4)), | 229.9 | 228 | | exit_ | Waypoint((227.6, 1000.4)), | 229.9 | 228 |
| exit1 | Waypoint((227.6, 1007.8)), | 223.8 | 223 |
| exit2 | Waypoint((221.4, 999.5)), | 223.8 | 223 |
""" """
self.map_init(plane=Jarilo_CorridorofFadingEchoes, floor="F1", position=(265.5, 963.6)) 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) self.register_domain_exit(
Waypoint((227.6, 1000.4)), end_rotation=228,
left_door=Waypoint((227.6, 1007.8)), right_door=Waypoint((221.4, 999.5)))
item = Waypoint((250.1, 970.4)) item = Waypoint((250.1, 970.4))
event = Waypoint((231.8, 991.0)) event = Waypoint((231.8, 991.0))

View File

@ -1,10 +1,13 @@
from module.exception import GameStuckError
from tasks.map.control.waypoint import Waypoint from tasks.map.control.waypoint import Waypoint
from tasks.map.keywords.plane import Luofu_Cloudford from tasks.map.keywords.plane import Luofu_Cloudford
from tasks.map.route.base import locked_rotation
from tasks.rogue.route.base import RouteBase from tasks.rogue.route.base import RouteBase
class Route(RouteBase): class Route(RouteBase):
@locked_rotation(270)
def Luofu_Cloudford_F1_X241Y947(self): def Luofu_Cloudford_F1_X241Y947(self):
""" """
| Waypoint | Position | Direction | Rotation | | Waypoint | Position | Direction | Rotation |

View File

@ -1,10 +1,12 @@
from tasks.map.control.waypoint import Waypoint from tasks.map.control.waypoint import Waypoint
from tasks.map.keywords.plane import Jarilo_SilvermaneGuardRestrictedZone from tasks.map.keywords.plane import Jarilo_SilvermaneGuardRestrictedZone
from tasks.map.route.base import locked_position
from tasks.rogue.route.base import RouteBase from tasks.rogue.route.base import RouteBase
class Route(RouteBase): class Route(RouteBase):
@locked_position
def Jarilo_SilvermaneGuardRestrictedZone_F1_X777Y199(self): def Jarilo_SilvermaneGuardRestrictedZone_F1_X777Y199(self):
""" """
| Waypoint | Position | Direction | Rotation | | Waypoint | Position | Direction | Rotation |