From 7c15bb769871bfb49ad01df51a12efcca96913ae Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期三, 17 四月 2019 10:50:56 +0800 Subject: [PATCH] 6457 缥缈妖王回血功能 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 26 ++++++++++++++++++++++++++ 1 files changed, 26 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 2a9dd94..ed73d5e 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py @@ -1428,6 +1428,13 @@ ("DWORD", "EventID", 0), ("list", "Award", 0), ), + + "FBBuyBuff":( + ("DWORD", "MapId", 1), + ("WORD", "MoneyCnt", 1), + ("DWORD", "BuffID", 0), + ("WORD", "BuffCD", 0), + ), } @@ -4369,6 +4376,21 @@ def GetCnt(self): return self.Cnt # 次数 def GetEventID(self): return self.EventID # 事件编号 def GetAward(self): return self.Award # 定制奖励(没配走正常奖励规则)[[物品ID,数量,是否拍品],..] + +# 副本Buff表 +class IPY_FBBuyBuff(): + + def __init__(self): + self.MapId = 0 + self.MoneyCnt = 0 + self.BuffID = 0 + self.BuffCD = 0 + return + + def GetMapId(self): return self.MapId # + def GetMoneyCnt(self): return self.MoneyCnt # 仙玉数量 + def GetBuffID(self): return self.BuffID # BuffID + def GetBuffCD(self): return self.BuffCD # 间隔时间s def Log(msg, playerID=0, par=0): @@ -4684,6 +4706,8 @@ self.ipyFairyAdventuresLen = len(self.ipyFairyAdventuresCache) self.ipyFairyDomainAppointCache = self.__LoadFileData("FairyDomainAppoint", IPY_FairyDomainAppoint) self.ipyFairyDomainAppointLen = len(self.ipyFairyDomainAppointCache) + self.ipyFBBuyBuffCache = self.__LoadFileData("FBBuyBuff", IPY_FBBuyBuff) + self.ipyFBBuyBuffLen = len(self.ipyFBBuyBuffCache) Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict)) Log("IPY_DataMgr InitOK!") return @@ -5140,6 +5164,8 @@ def GetFairyAdventuresByIndex(self, index): return self.ipyFairyAdventuresCache[index] def GetFairyDomainAppointCount(self): return self.ipyFairyDomainAppointLen def GetFairyDomainAppointByIndex(self, index): return self.ipyFairyDomainAppointCache[index] + def GetFBBuyBuffCount(self): return self.ipyFBBuyBuffLen + def GetFBBuyBuffByIndex(self, index): return self.ipyFBBuyBuffCache[index] IPYData = IPY_DataMgr() def IPY_Data(): return IPYData -- Gitblit v1.8.0