A2 Pathing + Arcane run + Static for Sorc + Static Tele robustification + Chest class (#348)
This commit is contained in:
@@ -34,7 +34,7 @@ class UiManager():
|
||||
:param act: Index of the desired act starting at 1 [A1 = 1, A2 = 2, A3 = 3, ...]
|
||||
:param idx: Index of the waypoint from top. Note that it start at 0!
|
||||
"""
|
||||
str_to_idx_map = {"WP_A3_ACTIVE": 3, "WP_A4_ACTIVE": 4, "WP_A5_ACTIVE": 5}
|
||||
str_to_idx_map = {"WP_A2_ACTIVE": 2, "WP_A3_ACTIVE": 3, "WP_A4_ACTIVE": 4, "WP_A5_ACTIVE": 5}
|
||||
template_match = self._template_finder.search([*str_to_idx_map], self._screen.grab(), threshold=0.7, best_match=True, roi=self._config.ui_roi["wp_act_roi"])
|
||||
curr_active_act = str_to_idx_map[template_match.name] if template_match.valid else -1
|
||||
if curr_active_act != act:
|
||||
|
||||
Reference in New Issue
Block a user