diff --git a/tasks/combat/interact.py b/tasks/combat/interact.py index 5d60b3c1c..4c4f46953 100644 --- a/tasks/combat/interact.py +++ b/tasks/combat/interact.py @@ -5,12 +5,12 @@ from tasks.map.assets.assets_map_control import A_BUTTON class CombatInteract(UI): - def handle_combat_interact(self): + def handle_combat_interact(self, interval=2): """ Returns: bool: If clicked. """ - if self.appear_then_click(DUNGEON_COMBAT_INTERACT, interval=2): + if self.appear_then_click(DUNGEON_COMBAT_INTERACT, interval=interval): return True return False diff --git a/tasks/map/control/control.py b/tasks/map/control/control.py index c0e123ab3..db9cbf12b 100644 --- a/tasks/map/control/control.py +++ b/tasks/map/control/control.py @@ -211,7 +211,7 @@ class MapControl(Combat, AimDetectorMixin): return result if waypoint.interact_radius > 0: if diff < waypoint.interact_radius: - self.handle_combat_interact() + self.handle_combat_interact(interval=1) # Arrive if near := self.minimap.is_position_near(waypoint.position, threshold=waypoint.get_threshold(end_opt)):