mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-29 11:03:18 +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
|
return result
|
||||||
if waypoint.interact_radius > 0:
|
if waypoint.interact_radius > 0:
|
||||||
if diff < waypoint.interact_radius:
|
if diff < waypoint.interact_radius:
|
||||||
self.handle_combat_interact(interval=1)
|
if self.handle_combat_interact(interval=1):
|
||||||
|
contact.up()
|
||||||
|
|
||||||
# Arrive
|
# Arrive
|
||||||
if near := self.minimap.is_position_near(waypoint.position, threshold=waypoint.get_threshold(end_opt)):
|
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():
|
if is_select_blessing_complete():
|
||||||
logger.info("Select blessing complete")
|
logger.info("Select blessing complete")
|
||||||
break
|
break
|
||||||
|
if self.main.handle_popup_confirm():
|
||||||
|
continue
|
||||||
if interval.reached():
|
if interval.reached():
|
||||||
self.main.device.click(BLESSING_CONFIRM)
|
self.main.device.click(BLESSING_CONFIRM)
|
||||||
interval.reset()
|
interval.reset()
|
||||||
|
@ -120,6 +120,8 @@ class RogueCurioSelector(RogueSelector):
|
|||||||
|
|
||||||
if is_select_curio_complete():
|
if is_select_curio_complete():
|
||||||
break
|
break
|
||||||
|
if self.main.handle_popup_confirm():
|
||||||
|
continue
|
||||||
if interval.reached():
|
if interval.reached():
|
||||||
self.main.device.click(BLESSING_CONFIRM)
|
self.main.device.click(BLESSING_CONFIRM)
|
||||||
interval.reset()
|
interval.reset()
|
||||||
|
Loading…
Reference in New Issue
Block a user