From d8cf06e323dca770512529f741a667278c0c8786 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 07 一月 2019 17:38:57 +0800 Subject: [PATCH] 5722 【后端】【1.5】跨服BOSS开发(进入跨服地图通用逻辑) --- 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 683dc1c..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), @@ -3505,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(): @@ -3835,6 +3863,8 @@ 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) @@ -4225,6 +4255,8 @@ 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 -- Gitblit v1.8.0