mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-21 14:55:35 +08:00
Fix: STOP_IF_REACH_LV32 cannot work properly if using delay
This commit is contained in:
@@ -331,12 +331,11 @@ class GemsFarming(CampaignRun, Dock, EquipmentChange):
|
|||||||
raise e
|
raise e
|
||||||
|
|
||||||
# End
|
# End
|
||||||
success = True
|
|
||||||
if self._trigger_lv32 or self._trigger_emotion:
|
if self._trigger_lv32 or self._trigger_emotion:
|
||||||
success = success and self.flagship_change()
|
self.flagship_change()
|
||||||
|
|
||||||
if self.config.GemsFarming_LowEmotionRetreat:
|
if self.config.GemsFarming_LowEmotionRetreat:
|
||||||
success = success and self.vanguard_change()
|
self.vanguard_change()
|
||||||
|
|
||||||
if is_limit and self.config.StopCondition_RunCount <= 0:
|
if is_limit and self.config.StopCondition_RunCount <= 0:
|
||||||
logger.hr('Triggered stop condition: Run count')
|
logger.hr('Triggered stop condition: Run count')
|
||||||
@@ -353,10 +352,6 @@ class GemsFarming(CampaignRun, Dock, EquipmentChange):
|
|||||||
if self.config.task_switched():
|
if self.config.task_switched():
|
||||||
self.campaign.ensure_auto_search_exit()
|
self.campaign.ensure_auto_search_exit()
|
||||||
self.config.task_stop()
|
self.config.task_stop()
|
||||||
# Delay
|
|
||||||
if not success:
|
|
||||||
self.campaign.ensure_auto_search_exit()
|
|
||||||
self.config.task_delay(minute=30)
|
|
||||||
|
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user