Fix: Lock position and rotation in Luofu_Cloudford_F1_X281Y873

This commit is contained in:
LmeSzinc 2023-12-11 00:39:06 +08:00
parent e97a0fc136
commit 50bd5f71a3
2 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,6 @@
from tasks.map.control.waypoint import Waypoint
from tasks.map.keywords.plane import Luofu_Cloudford
from tasks.map.route.base import locked_position, locked_rotation
from tasks.rogue.route.base import RouteBase
@ -93,6 +94,8 @@ class Route(RouteBase):
enemy
)
@locked_position
@locked_rotation(0)
def Luofu_Cloudford_F1_X281Y873(self):
"""
| Waypoint | Position | Direction | Rotation |
@ -119,6 +122,8 @@ class Route(RouteBase):
"""
self.clear_enemy(enemy)
@locked_position
@locked_rotation(0)
def Luofu_Cloudford_F1_X283Y865(self):
"""
| Waypoint | Position | Direction | Rotation |

View File

@ -1,7 +1,7 @@
from module.exception import GameStuckError
from tasks.map.control.waypoint import Waypoint
from tasks.map.keywords.plane import Luofu_Cloudford
from tasks.map.route.base import locked_rotation
from tasks.map.route.base import locked_position, locked_rotation
from tasks.rogue.route.base import RouteBase
@ -27,6 +27,8 @@ class Route(RouteBase):
self.clear_event(event)
# ===== End of generated waypoints =====
@locked_position
@locked_rotation(0)
def Luofu_Cloudford_F1_X281Y873(self):
"""
| Waypoint | Position | Direction | Rotation |
@ -55,6 +57,8 @@ class Route(RouteBase):
but for wrong spawn point detected
"""
@locked_position
@locked_rotation(0)
def Luofu_Cloudford_F1_X283Y865(self):
"""
| Waypoint | Position | Direction | Rotation |