From a3b3032cd671876a1b0995fb88bf10246dfb8330 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期二, 25 十二月 2018 09:59:26 +0800 Subject: [PATCH] 5505 王者法宝初版 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 23 +++++++++++++++++++++++ 1 files changed, 23 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 3393513..5b262c9 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py @@ -1161,6 +1161,12 @@ ("dict", "AttrInfo4", 0), ("dict", "AttrInfo5", 0), ), + + "MagicWeaponOfKing":( + ("DWORD", "MWID", 1), + ("BYTE", "AwardMark", 1), + ("dict", "AddAttr", 0), + ), } @@ -3532,6 +3538,19 @@ def GetAttrInfo3(self): return self.AttrInfo3 # 多属性系数 def GetAttrInfo4(self): return self.AttrInfo4 # 初始属性(品质_属性值|…) def GetAttrInfo5(self): return self.AttrInfo5 # 阶段系数 + +# 王者法宝表 +class IPY_MagicWeaponOfKing(): + + def __init__(self): + self.MWID = 0 + self.AwardMark = 0 + self.AddAttr = {} + return + + def GetMWID(self): return self.MWID # 法宝ID + def GetAwardMark(self): return self.AwardMark # 赛季奖励等级 + def GetAddAttr(self): return self.AddAttr # 属性 def Log(msg, playerID=0, par=0): @@ -3775,6 +3794,8 @@ self.ipyGatherSoulCompoundLen = len(self.ipyGatherSoulCompoundCache) self.ipyGatherSoulAttrCache = self.__LoadFileData("GatherSoulAttr", IPY_GatherSoulAttr) self.ipyGatherSoulAttrLen = len(self.ipyGatherSoulAttrCache) + self.ipyMagicWeaponOfKingCache = self.__LoadFileData("MagicWeaponOfKing", IPY_MagicWeaponOfKing) + self.ipyMagicWeaponOfKingLen = len(self.ipyMagicWeaponOfKingCache) Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict)) Log("IPY_DataMgr InitOK!") return @@ -4159,6 +4180,8 @@ def GetGatherSoulCompoundByIndex(self, index): return self.ipyGatherSoulCompoundCache[index] def GetGatherSoulAttrCount(self): return self.ipyGatherSoulAttrLen def GetGatherSoulAttrByIndex(self, index): return self.ipyGatherSoulAttrCache[index] + def GetMagicWeaponOfKingCount(self): return self.ipyMagicWeaponOfKingLen + def GetMagicWeaponOfKingByIndex(self, index): return self.ipyMagicWeaponOfKingCache[index] IPYData = IPY_DataMgr() def IPY_Data(): return IPYData -- Gitblit v1.8.0