Explorar o código

修复道馆首次攻击后的任务间隔

weirj2016-ai hai 1 mes
pai
achega
6360d6a947
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tasks/Dokan/script_task.py

+ 1 - 1
tasks/Dokan/script_task.py

@@ -950,7 +950,7 @@ class ScriptTask(ExtendGreenMark, GameUi, SwitchSoul, DokanSceneDetector):
             #   # 本来以为server为False(finish=True,success=False,server=False)就不会变成明天,谁知道还是变成明天
             #   # 本来以为server为False(finish=True,success=False,server=False)就不会变成明天,谁知道还是变成明天
             #   # 逻辑太复杂,不如直接target,简单点
             #   # 逻辑太复杂,不如直接target,简单点
             if self.config.dokan.attack_count_config.remain_attack_count == 1 and self.config.dokan.attack_count_config.daily_attack_count == 2:
             if self.config.dokan.attack_count_config.remain_attack_count == 1 and self.config.dokan.attack_count_config.daily_attack_count == 2:
-                self.set_next_run(task="Dokan", target=now + self.config.dokan.scheduler.failure_interval)
+                self.set_next_run(task="Dokan", target=now + self.config.dokan.scheduler.failure_interval, server=False)
                 return
                 return
             # 其余情况当作成功
             # 其余情况当作成功
             self.set_next_run(task="Dokan", finish=False, success=True, server=True)
             self.set_next_run(task="Dokan", finish=False, success=True, server=True)