hxp
2021-10-14 14c1220f82e00ffea6f2759e8ff11d99606220bb
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
@@ -301,6 +301,16 @@
                        ("DWORD", "FamilyStoreItemScore", 0),
                        ),
                "FaQiLVUp":(
                        ("BYTE", "FaQiLV", 1),
                        ("WORD", "NeedEatCount", 0),
                        ("list", "LVAttrType", 0),
                        ("list", "LVAttrValue", 0),
                        ("list", "UpItemAttrType", 0),
                        ("list", "UpItemAttrValue", 0),
                        ("DWORD", "UpEatItemPerCount", 0),
                        ),
                "HorseLVUp":(
                        ("BYTE", "HorseLV", 1),
                        ("DWORD", "HorseSkinID", 0),
@@ -2460,6 +2470,27 @@
    def GetEquipClass(self): return self.EquipClass # 装备阶数
    def GetExp(self): return self.Exp # 获得灵兽升级经验
    def GetFamilyStoreItemScore(self): return self.FamilyStoreItemScore # 仙盟宝库积分
# 法器升级表
class IPY_FaQiLVUp():
    def __init__(self):
        self.FaQiLV = 0
        self.NeedEatCount = 0
        self.LVAttrType = []
        self.LVAttrValue = []
        self.UpItemAttrType = []
        self.UpItemAttrValue = []
        self.UpEatItemPerCount = 0
        return
    def GetFaQiLV(self): return self.FaQiLV # 法器等级
    def GetNeedEatCount(self): return self.NeedEatCount # 升级所需个数(非累计)
    def GetLVAttrType(self): return self.LVAttrType # 每级额外属性类型(非累积)
    def GetLVAttrValue(self): return self.LVAttrValue # 每级额外属性值(非累积)
    def GetUpItemAttrType(self): return self.UpItemAttrType # 每x个培养丹增加属性类型,x=UpEatItemPerCount
    def GetUpItemAttrValue(self): return self.UpItemAttrValue # 每x个培养丹增加属性值,x=UpEatItemPerCount
    def GetUpEatItemPerCount(self): return self.UpEatItemPerCount # 每次培养消耗x个
# 坐骑升级表
class IPY_HorseLVUp():
@@ -5889,6 +5920,8 @@
        self.ipyPetClassCostLen = len(self.ipyPetClassCostCache)
        self.ipyPetEatEquipCache = self.__LoadFileData("PetEatEquip", IPY_PetEatEquip)
        self.ipyPetEatEquipLen = len(self.ipyPetEatEquipCache)
        self.ipyFaQiLVUpCache = self.__LoadFileData("FaQiLVUp", IPY_FaQiLVUp)
        self.ipyFaQiLVUpLen = len(self.ipyFaQiLVUpCache)
        self.ipyHorseLVUpCache = self.__LoadFileData("HorseLVUp", IPY_HorseLVUp)
        self.ipyHorseLVUpLen = len(self.ipyHorseLVUpCache)
        self.ipyHorseTrainCache = self.__LoadFileData("HorseTrain", IPY_HorseTrain)
@@ -6439,6 +6472,8 @@
    def GetPetClassCostByIndex(self, index): return self.ipyPetClassCostCache[index]
    def GetPetEatEquipCount(self): return self.ipyPetEatEquipLen
    def GetPetEatEquipByIndex(self, index): return self.ipyPetEatEquipCache[index]
    def GetFaQiLVUpCount(self): return self.ipyFaQiLVUpLen
    def GetFaQiLVUpByIndex(self, index): return self.ipyFaQiLVUpCache[index]
    def GetHorseLVUpCount(self): return self.ipyHorseLVUpLen
    def GetHorseLVUpByIndex(self, index): return self.ipyHorseLVUpCache[index]
    def GetHorseTrainCount(self): return self.ipyHorseTrainLen