| | |
| | | ("WORD", "LevelMax", 0),
|
| | | ),
|
| | |
|
| | | "ItemPlusSumAttr":(
|
| | | ("WORD", "PlusCntNeed", 1),
|
| | | ("list", "AttrType", 0),
|
| | | ("list", "AttrValue", 0),
|
| | | ),
|
| | |
|
| | | "RoleEquipStars":(
|
| | | ("BYTE", "StarsNeed", 1),
|
| | | ("list", "AttrType", 0),
|
| | |
| | | ("DWORD", "CostItemID", 0),
|
| | | ("BYTE", "CostItemCount", 0),
|
| | | ("list", "GoldWashCostList", 0),
|
| | | ),
|
| | |
|
| | | "EquipWashSpec":(
|
| | | ("BYTE", "WashTypeNeed", 1),
|
| | | ("BYTE", "WashLVNeed", 1),
|
| | | ("list", "AddAttrType", 0),
|
| | | ("list", "AddAttrValue", 0),
|
| | | ),
|
| | |
|
| | | "AttrFruit":(
|
| | |
| | | def GetStar(self): return self.Star # 装备星数
|
| | | def GetLevelMax(self): return self.LevelMax # 强化等级上限 |
| | | |
| | | # 装备全身强化属性 |
| | | class IPY_ItemPlusSumAttr(): |
| | | |
| | | def __init__(self): |
| | | self.PlusCntNeed = 0
|
| | | self.AttrType = []
|
| | | self.AttrValue = [] |
| | | return |
| | | |
| | | def GetPlusCntNeed(self): return self.PlusCntNeed # 全身强化等级
|
| | | def GetAttrType(self): return self.AttrType # 全身强化激活属性类型
|
| | | def GetAttrValue(self): return self.AttrValue # 全身强化激活属性值 |
| | | |
| | | # 装备全身星数属性 |
| | | class IPY_RoleEquipStars(): |
| | | |
| | |
| | | def GetCostItemID(self): return self.CostItemID # 固定消耗物品ID
|
| | | def GetCostItemCount(self): return self.CostItemCount # 固定消耗物品个数
|
| | | def GetGoldWashCostList(self): return self.GoldWashCostList # 仙玉洗练条数对应消耗 |
| | | |
| | | # 洗练特殊属性表 |
| | | class IPY_EquipWashSpec(): |
| | | |
| | | def __init__(self): |
| | | self.WashTypeNeed = 0
|
| | | self.WashLVNeed = 0
|
| | | self.AddAttrType = []
|
| | | self.AddAttrValue = [] |
| | | return |
| | | |
| | | def GetWashTypeNeed(self): return self.WashTypeNeed # 所需装备归组类型
|
| | | def GetWashLVNeed(self): return self.WashLVNeed # 所需洗练等级
|
| | | def GetAddAttrType(self): return self.AddAttrType # 激活加成属性类型
|
| | | def GetAddAttrValue(self): return self.AddAttrValue # 激活加成属性值 |
| | | |
| | | # 属性果实表 |
| | | class IPY_AttrFruit(): |
| | |
| | | self.ipyItemPlusLen = len(self.ipyItemPlusCache)
|
| | | self.ipyItemPlusMaxCache = self.__LoadFileData("ItemPlusMax", IPY_ItemPlusMax)
|
| | | self.ipyItemPlusMaxLen = len(self.ipyItemPlusMaxCache)
|
| | | self.ipyItemPlusSumAttrCache = self.__LoadFileData("ItemPlusSumAttr", IPY_ItemPlusSumAttr)
|
| | | self.ipyItemPlusSumAttrLen = len(self.ipyItemPlusSumAttrCache)
|
| | | self.ipyRoleEquipStarsCache = self.__LoadFileData("RoleEquipStars", IPY_RoleEquipStars)
|
| | | self.ipyRoleEquipStarsLen = len(self.ipyRoleEquipStarsCache)
|
| | | self.ipyEquipLegendAttrCountCache = self.__LoadFileData("EquipLegendAttrCount", IPY_EquipLegendAttrCount)
|
| | |
| | | self.ipyRuneLen = len(self.ipyRuneCache)
|
| | | self.ipyEquipWashCache = self.__LoadFileData("EquipWash", IPY_EquipWash)
|
| | | self.ipyEquipWashLen = len(self.ipyEquipWashCache)
|
| | | self.ipyEquipWashSpecCache = self.__LoadFileData("EquipWashSpec", IPY_EquipWashSpec)
|
| | | self.ipyEquipWashSpecLen = len(self.ipyEquipWashSpecCache)
|
| | | self.ipyAttrFruitCache = self.__LoadFileData("AttrFruit", IPY_AttrFruit)
|
| | | self.ipyAttrFruitLen = len(self.ipyAttrFruitCache)
|
| | | self.ipyPetInfoCache = self.__LoadFileData("PetInfo", IPY_PetInfo)
|
| | |
| | | def GetItemPlusByIndex(self, index): return self.ipyItemPlusCache[index]
|
| | | def GetItemPlusMaxCount(self): return self.ipyItemPlusMaxLen
|
| | | def GetItemPlusMaxByIndex(self, index): return self.ipyItemPlusMaxCache[index]
|
| | | def GetItemPlusSumAttrCount(self): return self.ipyItemPlusSumAttrLen
|
| | | def GetItemPlusSumAttrByIndex(self, index): return self.ipyItemPlusSumAttrCache[index]
|
| | | def GetRoleEquipStarsCount(self): return self.ipyRoleEquipStarsLen
|
| | | def GetRoleEquipStarsByIndex(self, index): return self.ipyRoleEquipStarsCache[index]
|
| | | def GetEquipLegendAttrCountCount(self): return self.ipyEquipLegendAttrCountLen
|
| | |
| | | def GetRuneByIndex(self, index): return self.ipyRuneCache[index]
|
| | | def GetEquipWashCount(self): return self.ipyEquipWashLen
|
| | | def GetEquipWashByIndex(self, index): return self.ipyEquipWashCache[index]
|
| | | def GetEquipWashSpecCount(self): return self.ipyEquipWashSpecLen
|
| | | def GetEquipWashSpecByIndex(self, index): return self.ipyEquipWashSpecCache[index]
|
| | | def GetAttrFruitCount(self): return self.ipyAttrFruitLen
|
| | | def GetAttrFruitByIndex(self, index): return self.ipyAttrFruitCache[index]
|
| | | def GetPetInfoCount(self): return self.ipyPetInfoLen
|