mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 15:36:59 +08:00
Fix: Incompele gems_farming stop condition (#1524)
* Fix: Incompele gems_farming stop condition * Indentation fixed
This commit is contained in:
@@ -320,6 +320,7 @@ class GemsFarming(CampaignRun, Dock, EquipmentChange):
|
||||
|
||||
while 1:
|
||||
self._trigger_lv32 = False
|
||||
is_limit = self.config.StopCondition_RunCount
|
||||
|
||||
try:
|
||||
super().run(name=name, folder=folder, total=total)
|
||||
@@ -336,6 +337,12 @@ class GemsFarming(CampaignRun, Dock, EquipmentChange):
|
||||
|
||||
if self.config.GemsFarming_LowEmotionRetreat:
|
||||
success = success and self.vanguard_change()
|
||||
|
||||
if is_limit and self.config.StopCondition_RunCount <= 0:
|
||||
logger.hr('Triggered stop condition: Run count')
|
||||
self.config.StopCondition_RunCount = 0
|
||||
self.config.Scheduler_Enable = False
|
||||
break
|
||||
|
||||
self._trigger_lv32 = False
|
||||
self._trigger_emotion = False
|
||||
|
||||
Reference in New Issue
Block a user