From 80b0b1c317268f946c2bfa8f442cff6c5df20e76 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 21 九月 2018 23:24:00 +0800
Subject: [PATCH] 3428 子 【开发】神兽技能 / 【后端】神兽技能 --- 修复属性
---
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py
index 2da65a4..07dd7b7 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py
@@ -156,7 +156,8 @@
# 按开服天开的
if startDateStr.isdigit() and endDateStr.isdigit():
startServerDay, endServerDay = int(startDateStr), int(endDateStr)
- if openServerDay > endServerDay:
+ #结束日可能还需要处理广播之类,所以这里需要+1
+ if openServerDay > endServerDay + 1:
GameWorld.Log(" 当前开服天超过活动结束开服天,不处理! cfgID=%s,%s ~ %s < openServerDay(%s)" % (cfgID, startDateStr, endDateStr, openServerDay))
continue
openServerDateTime = curDateTime + datetime.timedelta(days=(startServerDay-openServerDay))
--
Gitblit v1.8.0