Jelajahi Sumber

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

yuyuyuyuyu 9 bulan lalu
induk
melakukan
bbe0e10498
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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