Explorar o código

fix[hunt]:修复17-19点之间无法执行阴界

yuyuyuyuyu hai 9 meses
pai
achega
bbe0e10498
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tasks/Hunt/script_task.py

+ 1 - 1
tasks/Hunt/script_task.py

@@ -83,7 +83,7 @@ class ScriptTask(GameUi, GeneralBattle, GeneralInvite, SwitchSoul, HuntAssets):
                 return True
         else:
             logger.info('Today is the Netherworld day')
-            if now.time() < time(19, 0):
+            if now.time() < time(17, 0):
                 self.custom_next_run(task='Hunt', custom_time=self.con_time.netherworld_time, time_delta=0)
                 raise TaskEnd('Hunt')
             # 如果是阴界日在23:00-23:59之间则设定时间为明天的自定义时间,返回False