mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
Fix: Confirm discarding blessings
This commit is contained in:
parent
c004af5346
commit
2fcc0c76ef
@ -211,7 +211,8 @@ class MapControl(Combat, AimDetectorMixin):
|
||||
return result
|
||||
if waypoint.interact_radius > 0:
|
||||
if diff < waypoint.interact_radius:
|
||||
self.handle_combat_interact(interval=1)
|
||||
if self.handle_combat_interact(interval=1):
|
||||
contact.up()
|
||||
|
||||
# Arrive
|
||||
if near := self.minimap.is_position_near(waypoint.position, threshold=waypoint.get_threshold(end_opt)):
|
||||
|
@ -204,6 +204,8 @@ class RogueBlessingSelector(RogueSelector):
|
||||
if is_select_blessing_complete():
|
||||
logger.info("Select blessing complete")
|
||||
break
|
||||
if self.main.handle_popup_confirm():
|
||||
continue
|
||||
if interval.reached():
|
||||
self.main.device.click(BLESSING_CONFIRM)
|
||||
interval.reset()
|
||||
|
@ -120,6 +120,8 @@ class RogueCurioSelector(RogueSelector):
|
||||
|
||||
if is_select_curio_complete():
|
||||
break
|
||||
if self.main.handle_popup_confirm():
|
||||
continue
|
||||
if interval.reached():
|
||||
self.main.device.click(BLESSING_CONFIRM)
|
||||
interval.reset()
|
||||
|
Loading…
Reference in New Issue
Block a user