From 043a9c0e0df19388055bb7ad3b15952d7da91506 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期六, 08 五月 2021 16:52:43 +0800 Subject: [PATCH] 8721 【主干】【BT2】【后端】H.活动-合服庆典(骑宠盛宴) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py index c75e21f..14367cd 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py @@ -1143,6 +1143,15 @@ ("BYTE", "NeedNotify", 0), ), + "ActHorsePetFeast":( + ("DWORD", "CfgID", 1), + ("char", "StartDate", 0), + ("char", "EndDate", 0), + ("list", "StartTimeList", 0), + ("list", "EndTimeList", 0), + ("WORD", "LVLimit", 0), + ), + "ActBossReborn":( ("DWORD", "CfgID", 1), ("char", "StartDate", 0), @@ -4136,6 +4145,25 @@ def GetNeedItemList(self): return self.NeedItemList # 所需物品信息列表 [[物品ID,个数,是否绑定], ...] def GetNeedNotify(self): return self.NeedNotify # 是否需要广播 +# 骑宠盛宴活动 +class IPY_ActHorsePetFeast(): + + def __init__(self): + self.CfgID = 0 + self.StartDate = "" + self.EndDate = "" + self.StartTimeList = [] + self.EndTimeList = [] + self.LVLimit = 0 + return + + def GetCfgID(self): return self.CfgID # 配置ID + def GetStartDate(self): return self.StartDate # 开启日期 + def GetEndDate(self): return self.EndDate # 结束日期 + def GetStartTimeList(self): return self.StartTimeList # 开启时间列表, 支持多个时段 + def GetEndTimeList(self): return self.EndTimeList # 结束时间列表, 支持多个时段 + def GetLVLimit(self): return self.LVLimit # 限制等级 + # BOSS复活活动时间表 class IPY_ActBossReborn(): @@ -5779,6 +5807,8 @@ self.ipyActCollectWordsLen = len(self.ipyActCollectWordsCache) self.ipyCollectWordsExchangeCache = self.__LoadFileData("CollectWordsExchange", IPY_CollectWordsExchange) self.ipyCollectWordsExchangeLen = len(self.ipyCollectWordsExchangeCache) + self.ipyActHorsePetFeastCache = self.__LoadFileData("ActHorsePetFeast", IPY_ActHorsePetFeast) + self.ipyActHorsePetFeastLen = len(self.ipyActHorsePetFeastCache) self.ipyActBossRebornCache = self.__LoadFileData("ActBossReborn", IPY_ActBossReborn) self.ipyActBossRebornLen = len(self.ipyActBossRebornCache) self.ipyBossRebornCache = self.__LoadFileData("BossReborn", IPY_BossReborn) @@ -6313,6 +6343,8 @@ def GetActCollectWordsByIndex(self, index): return self.ipyActCollectWordsCache[index] def GetCollectWordsExchangeCount(self): return self.ipyCollectWordsExchangeLen def GetCollectWordsExchangeByIndex(self, index): return self.ipyCollectWordsExchangeCache[index] + def GetActHorsePetFeastCount(self): return self.ipyActHorsePetFeastLen + def GetActHorsePetFeastByIndex(self, index): return self.ipyActHorsePetFeastCache[index] def GetActBossRebornCount(self): return self.ipyActBossRebornLen def GetActBossRebornByIndex(self, index): return self.ipyActBossRebornCache[index] def GetBossRebornCount(self): return self.ipyBossRebornLen -- Gitblit v1.8.0