From d4b309d86b0606f09f922301556b5c811029c60b Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 08 三月 2021 18:06:25 +0800 Subject: [PATCH] 8650 【主干】【BT2】活动规则优化(限时礼包支持多活动编号同时开启); --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py index 21d0311..aa6a61e 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py @@ -603,6 +603,14 @@ #--------------------------------------------------------------------- +def GetActInfo(actName, actNum): + if actName not in PyGameData.g_operationActionDict: + return {} + actNumDict = PyGameData.g_operationActionDict[actName] + if actNum not in actNumDict: + return {} + return actNumDict[actNum] + def GetOperationActionDateStr(dateInfo, openServerDay): '''获取运营活动对应日期,存数字代表开服天配置,需要转化为对应的日期 @param dateInfo: 运营活动表配置的日期信息, 如果是纯数字代表开服天 -- Gitblit v1.8.0