From cf6dd722bfc07a6ae19dd0378ecfda667d35ca67 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 09 一月 2019 09:52:43 +0800
Subject: [PATCH] 5730 【后端】【1.5】时装功能开发

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py |  110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 110 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..2825e23 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
@@ -1139,6 +1139,15 @@
                         ("list", "SeasonDanLVAwardList", 0),
                         ),
 
+                "CrossPenglaiZone":(
+                        ("BYTE", "ZoneID", 1),
+                        ("list", "ServerGroupIDList", 0),
+                        ("DWORD", "MapID", 0),
+                        ("BYTE", "CopyMapID", 0),
+                        ("WORD", "PosX", 0),
+                        ("WORD", "PosY", 0),
+                        ),
+
                 "GatherSoul":(
                         ("DWORD", "ItemID", 1),
                         ("list", "AttrType", 0),
@@ -1160,6 +1169,27 @@
                         ("dict", "AttrInfo3", 0),
                         ("dict", "AttrInfo4", 0),
                         ("dict", "AttrInfo5", 0),
+                        ),
+
+                "MagicWeaponOfKing":(
+                        ("DWORD", "MWID", 1),
+                        ("BYTE", "AwardMark", 1),
+                        ("dict", "AddAttr", 0),
+                        ),
+
+                "Coat":(
+                        ("DWORD", "CoatID", 1),
+                        ("list", "EquipItemID", 0),
+                        ("DWORD", "UnlockItemID", 0),
+                        ("DWORD", "MaxLV", 0),
+                        ("list", "CostItemCnt", 0),
+                        ("dict", "StarAttr", 0),
+                        ),
+
+                "CoatChestUp":(
+                        ("DWORD", "LV", 1),
+                        ("BYTE", "NeedExp", 0),
+                        ("dict", "AddAttr", 0),
                         ),
                 }
 
@@ -3484,6 +3514,25 @@
     def GetDanLVAwardList(self): return self.DanLVAwardList # 段位达标奖励物品列表
     def GetSeasonDanLVAwardList(self): return self.SeasonDanLVAwardList # 赛季段位奖励物品列表
 
+# 跨服Boss蓬莱仙境分区表
+class IPY_CrossPenglaiZone():
+    
+    def __init__(self):
+        self.ZoneID = 0
+        self.ServerGroupIDList = []
+        self.MapID = 0
+        self.CopyMapID = 0
+        self.PosX = 0
+        self.PosY = 0
+        return
+        
+    def GetZoneID(self): return self.ZoneID # 分区ID
+    def GetServerGroupIDList(self): return self.ServerGroupIDList # 服务器组ID列表
+    def GetMapID(self): return self.MapID # 场景地图ID
+    def GetCopyMapID(self): return self.CopyMapID # 虚拟线路ID
+    def GetPosX(self): return self.PosX # 坐标X
+    def GetPosY(self): return self.PosY # 坐标Y
+
 # 聚魂表
 class IPY_GatherSoul():
     
@@ -3532,6 +3581,51 @@
     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 # 属性
+
+# 时装表
+class IPY_Coat():
+    
+    def __init__(self):
+        self.CoatID = 0
+        self.EquipItemID = []
+        self.UnlockItemID = 0
+        self.MaxLV = 0
+        self.CostItemCnt = []
+        self.StarAttr = {}
+        return
+        
+    def GetCoatID(self): return self.CoatID # 时装编号
+    def GetEquipItemID(self): return self.EquipItemID # 装备物品ID(按职业顺序)
+    def GetUnlockItemID(self): return self.UnlockItemID # 材料物品ID
+    def GetMaxLV(self): return self.MaxLV # 最大星级
+    def GetCostItemCnt(self): return self.CostItemCnt # 材料数量
+    def GetStarAttr(self): return self.StarAttr # 属性
+
+# 时装柜升级表
+class IPY_CoatChestUp():
+    
+    def __init__(self):
+        self.LV = 0
+        self.NeedExp = 0
+        self.AddAttr = {}
+        return
+        
+    def GetLV(self): return self.LV # 等级
+    def GetNeedExp(self): return self.NeedExp # 升级所需经验
+    def GetAddAttr(self): return self.AddAttr # 属性
 
 
 def Log(msg, playerID=0, par=0):
@@ -3769,12 +3863,20 @@
         self.ipyGodWeaponEffectLen = len(self.ipyGodWeaponEffectCache)
         self.ipyCrossRealmPKDanCache = self.__LoadFileData("CrossRealmPKDan", IPY_CrossRealmPKDan)
         self.ipyCrossRealmPKDanLen = len(self.ipyCrossRealmPKDanCache)
+        self.ipyCrossPenglaiZoneCache = self.__LoadFileData("CrossPenglaiZone", IPY_CrossPenglaiZone)
+        self.ipyCrossPenglaiZoneLen = len(self.ipyCrossPenglaiZoneCache)
         self.ipyGatherSoulCache = self.__LoadFileData("GatherSoul", IPY_GatherSoul)
         self.ipyGatherSoulLen = len(self.ipyGatherSoulCache)
         self.ipyGatherSoulCompoundCache = self.__LoadFileData("GatherSoulCompound", IPY_GatherSoulCompound)
         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)
+        self.ipyCoatCache = self.__LoadFileData("Coat", IPY_Coat)
+        self.ipyCoatLen = len(self.ipyCoatCache)
+        self.ipyCoatChestUpCache = self.__LoadFileData("CoatChestUp", IPY_CoatChestUp)
+        self.ipyCoatChestUpLen = len(self.ipyCoatChestUpCache)
         Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
         Log("IPY_DataMgr InitOK!")
         return
@@ -4153,12 +4255,20 @@
     def GetGodWeaponEffectByIndex(self, index): return self.ipyGodWeaponEffectCache[index]
     def GetCrossRealmPKDanCount(self): return self.ipyCrossRealmPKDanLen
     def GetCrossRealmPKDanByIndex(self, index): return self.ipyCrossRealmPKDanCache[index]
+    def GetCrossPenglaiZoneCount(self): return self.ipyCrossPenglaiZoneLen
+    def GetCrossPenglaiZoneByIndex(self, index): return self.ipyCrossPenglaiZoneCache[index]
     def GetGatherSoulCount(self): return self.ipyGatherSoulLen
     def GetGatherSoulByIndex(self, index): return self.ipyGatherSoulCache[index]
     def GetGatherSoulCompoundCount(self): return self.ipyGatherSoulCompoundLen
     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]
+    def GetCoatCount(self): return self.ipyCoatLen
+    def GetCoatByIndex(self, index): return self.ipyCoatCache[index]
+    def GetCoatChestUpCount(self): return self.ipyCoatChestUpLen
+    def GetCoatChestUpByIndex(self, index): return self.ipyCoatChestUpCache[index]
 
 IPYData = IPY_DataMgr()
 def IPY_Data(): return IPYData

--
Gitblit v1.8.0