From a663539981db072298974deba2578a4138f533d0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 04 九月 2024 16:57:02 +0800
Subject: [PATCH] 10249 【越南】【砍树】仙宫(新增仙宫系统;跨服boss历练、跨服仙匣秘境、跨服骑宠养成;跨服古宝养成、跨服排位赛个人排行榜结算支持晋升仙宫;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 46 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 577f8c6..5cc448f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
@@ -2481,6 +2481,16 @@
                         ("list", "ZLRewardItemListH", 0),
                         ),
 
+                "Xiangong":(
+                        ("WORD", "XiangongID", 1),
+                        ),
+
+                "TiandaoTree":(
+                        ("WORD", "AwardIndex", 1),
+                        ("DWORD", "NeedQiyun", 0),
+                        ("list", "AwardItemList", 0),
+                        ),
+
                 "TreeLV":(
                         ("BYTE", "TreeLV", 1),
                         ("DWORD", "LVUPNeedMoney", 0),
@@ -6181,6 +6191,26 @@
     def GetZLRewardItemList(self): return self.attrTuple[4] # 战令奖励物品列表 [[物品ID,个数,是否拍品],...] list
     def GetZLRewardItemListH(self): return self.attrTuple[5] # 高级战令奖励物品列表 [[物品ID,个数,是否拍品],...] list
 
+# 仙宫表
+class IPY_Xiangong():
+    
+    def __init__(self):
+        self.attrTuple = None
+        return
+        
+    def GetXiangongID(self): return self.attrTuple[0] # 仙宫ID WORD
+
+# 仙宫天道树
+class IPY_TiandaoTree():
+    
+    def __init__(self):
+        self.attrTuple = None
+        return
+        
+    def GetAwardIndex(self): return self.attrTuple[0] # 奖励索引 WORD
+    def GetNeedQiyun(self): return self.attrTuple[1] # 所需气运值 DWORD
+    def GetAwardItemList(self): return self.attrTuple[2] # 奖励物品列表 list
+
 # 仙树等级表
 class IPY_TreeLV():
     
@@ -6508,6 +6538,8 @@
         self.__LoadFileData("HistoryRechargeAward", onlyCheck)
         self.__LoadFileData("CustomAward", onlyCheck)
         self.__LoadFileData("Zhanling", onlyCheck)
+        self.__LoadFileData("Xiangong", onlyCheck)
+        self.__LoadFileData("TiandaoTree", onlyCheck)
         self.__LoadFileData("TreeLV", onlyCheck)
         self.__LoadFileData("AlineInvade", onlyCheck)
         Log("IPY_DataMgr ReloadOK! onlyCheck=%s" % onlyCheck)
@@ -8444,6 +8476,20 @@
         self.CheckLoadData("Zhanling")
         return self.ipyZhanlingCache[index]
 
+    def GetXiangongCount(self):
+        self.CheckLoadData("Xiangong")
+        return self.ipyXiangongLen
+    def GetXiangongByIndex(self, index):
+        self.CheckLoadData("Xiangong")
+        return self.ipyXiangongCache[index]
+
+    def GetTiandaoTreeCount(self):
+        self.CheckLoadData("TiandaoTree")
+        return self.ipyTiandaoTreeLen
+    def GetTiandaoTreeByIndex(self, index):
+        self.CheckLoadData("TiandaoTree")
+        return self.ipyTiandaoTreeCache[index]
+
     def GetTreeLVCount(self):
         self.CheckLoadData("TreeLV")
         return self.ipyTreeLVLen

--
Gitblit v1.8.0