mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-26 10:16:34 +00:00
Upd: Rogue routes
This commit is contained in:
parent
7a14d819cd
commit
c3a3f43b55
@ -179,9 +179,11 @@ class Route(RouteBase):
|
|||||||
self.clear_item(item1)
|
self.clear_item(item1)
|
||||||
self.clear_enemy(enemy1)
|
self.clear_enemy(enemy1)
|
||||||
# Go through bridges
|
# Go through bridges
|
||||||
|
self.rotation_set(270)
|
||||||
|
self.minimap.lock_rotation(270)
|
||||||
self.clear_enemy(
|
self.clear_enemy(
|
||||||
node2.straight_run().set_threshold(3),
|
node2.straight_run(),
|
||||||
node3.straight_run().set_threshold(3),
|
node3.straight_run(),
|
||||||
enemy3.straight_run(),
|
enemy3.straight_run(),
|
||||||
)
|
)
|
||||||
self.clear_item(item4)
|
self.clear_item(item4)
|
||||||
|
@ -84,13 +84,16 @@ class Route(RouteBase):
|
|||||||
item2 = Waypoint((472.6, 228.6))
|
item2 = Waypoint((472.6, 228.6))
|
||||||
# ===== End of generated waypoints =====
|
# ===== End of generated waypoints =====
|
||||||
|
|
||||||
|
self.minimap.lock_rotation(270)
|
||||||
self.clear_enemy(enemy1)
|
self.clear_enemy(enemy1)
|
||||||
|
self.rotation_set(0)
|
||||||
|
self.minimap.lock_rotation(0)
|
||||||
self.clear_item(
|
self.clear_item(
|
||||||
node2.straight_run(),
|
node2,
|
||||||
item2.straight_run(),
|
item2,
|
||||||
)
|
)
|
||||||
self.clear_enemy(
|
self.clear_enemy(
|
||||||
enemy2.straight_run(),
|
enemy2,
|
||||||
)
|
)
|
||||||
|
|
||||||
def Luofu_ScalegorgeWaterscape_F1_X617Y99(self):
|
def Luofu_ScalegorgeWaterscape_F1_X617Y99(self):
|
||||||
|
@ -9,16 +9,16 @@ class Route(RouteBase):
|
|||||||
def Luofu_ScalegorgeWaterscape_F1_X499Y135(self):
|
def Luofu_ScalegorgeWaterscape_F1_X499Y135(self):
|
||||||
"""
|
"""
|
||||||
| Waypoint | Position | Direction | Rotation |
|
| Waypoint | Position | Direction | Rotation |
|
||||||
| -------- | ------------------------- | --------- | -------- |
|
| -------------- | ------------------------- | --------- | -------- |
|
||||||
| spawn | Waypoint((499.5, 135.3)), | 190.1 | 184 |
|
| spawn | Waypoint((499.5, 135.3)), | 190.1 | 184 |
|
||||||
| event | Waypoint((942.8, 291.1)), | 193.0 | 186 |
|
| event_X500Y169 | Waypoint((500.8, 169.1)), | 193.0 | 186 |
|
||||||
| exit | Waypoint((499.2, 169.4)), | 187.1 | 179 |
|
| exit | Waypoint((499.2, 169.4)), | 187.1 | 179 |
|
||||||
"""
|
"""
|
||||||
self.map_init(plane=Luofu_ScalegorgeWaterscape, floor="F1", position=(499.5, 135.3))
|
self.map_init(plane=Luofu_ScalegorgeWaterscape, floor="F1", position=(499.5, 135.3))
|
||||||
self.register_domain_exit(Waypoint((499.2, 169.4)), end_rotation=179)
|
self.register_domain_exit(Waypoint((499.2, 169.4)), end_rotation=179)
|
||||||
event = Waypoint((942.8, 291.1))
|
event_X500Y169 = Waypoint((500.8, 169.1))
|
||||||
|
|
||||||
self.clear_event(event)
|
self.clear_event(event_X500Y169)
|
||||||
# ===== End of generated waypoints =====
|
# ===== End of generated waypoints =====
|
||||||
|
|
||||||
@locked_rotation(180)
|
@locked_rotation(180)
|
||||||
|
@ -69,7 +69,7 @@ class RogueBuffOcr(Ocr):
|
|||||||
"天[培梧]步危": "天棓步危",
|
"天[培梧]步危": "天棓步危",
|
||||||
"云[摘销锅]?逐步离": "云镝逐步离",
|
"云[摘销锅]?逐步离": "云镝逐步离",
|
||||||
"制桑": "制穹桑",
|
"制桑": "制穹桑",
|
||||||
"乌号[綦基]*箭?": "乌号綦箭",
|
"乌号[綦基纂]*箭?": "乌号綦箭",
|
||||||
"流岚追摩?物": "流岚追孽物",
|
"流岚追摩?物": "流岚追孽物",
|
||||||
"特月": "狩月",
|
"特月": "狩月",
|
||||||
"彤弓素.*": "彤弓素矰",
|
"彤弓素.*": "彤弓素矰",
|
||||||
@ -86,6 +86,7 @@ class RogueBuffOcr(Ocr):
|
|||||||
"厌离邪[移]?苦": "厌离邪秽苦",
|
"厌离邪[移]?苦": "厌离邪秽苦",
|
||||||
r".*繁.*": "葳蕤繁祉,延彼遐龄",
|
r".*繁.*": "葳蕤繁祉,延彼遐龄",
|
||||||
"回馈底护": "回馈庇护",
|
"回馈底护": "回馈庇护",
|
||||||
|
"[范茫]+白夜": "茫茫白夜",
|
||||||
}
|
}
|
||||||
elif self.lang == 'en':
|
elif self.lang == 'en':
|
||||||
replace_pattern_dict = {
|
replace_pattern_dict = {
|
||||||
|
Loading…
Reference in New Issue
Block a user