@@ -1,8 +1,9 @@
{
"daily": {
- "2025-04-09": {
+ "2025-07-11": {
"login_task": true,
"fight_bigMonster_times": 0
}
- }
+ },
+ "runType": 0
@@ -479,6 +479,14 @@ class task_fightMonster(dongri_task):
def run(self):
global g_task_lineCheck
+ now = datetime.now()
+ target_time = datetime.combine(now.date(), time(20, 30))
+
+ # 判断当前时间是否超过20:30
+ if now > target_time:
+ print("当前时间已超过20:30,不执行操作")
+ return False
basic_operate.go_outside()
if False == waitFindImg_withBool((monster_img.enough_strengh2, monster_img.enough_strengh3), 2, 1):