From 27449927086d449e2316e2a5422cc82077bae377 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期三, 23 一月 2019 14:24:44 +0800 Subject: [PATCH] 6026 子 【开发】【1.5.100】诛仙装备开发 / 【后端】【1.5.100】诛仙装备分解 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 20 ++++++++++++++++++++ 1 files changed, 20 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 c646e09..95334be 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py @@ -1285,6 +1285,11 @@ ("WORD", "UnLockEquipPlace", 0), ("DWORD", "NeedPower", 0), ), + + "ZhuXianEquipDecompose":( + ("BYTE", "ClassLV", 1), + ("dict", "DecomposeInfo", 0), + ), } @@ -3916,6 +3921,17 @@ def GetGradeAward(self): return self.GradeAward # 评级奖励 def GetUnLockEquipPlace(self): return self.UnLockEquipPlace # 解锁的装备位 def GetNeedPower(self): return self.NeedPower # 推荐战力 + +# 诛仙装备分解表 +class IPY_ZhuXianEquipDecompose(): + + def __init__(self): + self.ClassLV = 0 + self.DecomposeInfo = {} + return + + def GetClassLV(self): return self.ClassLV # 阶级 + def GetDecomposeInfo(self): return self.DecomposeInfo # {(产出物品ID,..):饼图,..} def Log(msg, playerID=0, par=0): @@ -4183,6 +4199,8 @@ self.ipyZhuXianBossLen = len(self.ipyZhuXianBossCache) self.ipyZhuXianTowerCache = self.__LoadFileData("ZhuXianTower", IPY_ZhuXianTower) self.ipyZhuXianTowerLen = len(self.ipyZhuXianTowerCache) + self.ipyZhuXianEquipDecomposeCache = self.__LoadFileData("ZhuXianEquipDecompose", IPY_ZhuXianEquipDecompose) + self.ipyZhuXianEquipDecomposeLen = len(self.ipyZhuXianEquipDecomposeCache) Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict)) Log("IPY_DataMgr InitOK!") return @@ -4591,6 +4609,8 @@ def GetZhuXianBossByIndex(self, index): return self.ipyZhuXianBossCache[index] def GetZhuXianTowerCount(self): return self.ipyZhuXianTowerLen def GetZhuXianTowerByIndex(self, index): return self.ipyZhuXianTowerCache[index] + def GetZhuXianEquipDecomposeCount(self): return self.ipyZhuXianEquipDecomposeLen + def GetZhuXianEquipDecomposeByIndex(self, index): return self.ipyZhuXianEquipDecomposeCache[index] IPYData = IPY_DataMgr() def IPY_Data(): return IPYData -- Gitblit v1.8.0