| | |
| | | ("list", "PointQualityIntervalList", 0),
|
| | | ),
|
| | |
|
| | | "LingQiAttr":(
|
| | | ("BYTE", "ItemID", 1),
|
| | | ("list", "LingQiAttrID", 0),
|
| | | ("list", "LingQiAttrValue", 0),
|
| | | ("DWORD", "LingQiAttrScore", 0),
|
| | | ),
|
| | |
|
| | | "Realm":(
|
| | | ("WORD", "Lv", 1),
|
| | | ("DWORD", "NeedLV", 0),
|
| | |
| | | ("dict", "EquipColorMaxDropCount", 0),
|
| | | ("dict", "EquipColorSuitInfo", 0),
|
| | | ("dict", "EquipPartKeyRateInfo", 0),
|
| | | ("BYTE", "ColorSuitPartOptimization", 0),
|
| | | ("dict", "KillCountDropEquipPub", 0),
|
| | | ("dict", "ItemIDDropRate", 0),
|
| | | ("dict", "ItemIDMaxDropCount", 0),
|
| | |
| | | ("DWORD", "SweepRunePoint", 0),
|
| | | ("DWORD", "SweepYsog", 0),
|
| | | ("dict", "SweepGoodDrop", 0),
|
| | | ),
|
| | |
|
| | | "ChinMap":(
|
| | | ("DWORD", "MapID", 1),
|
| | | ("BYTE", "CanRide", 0),
|
| | | ("BYTE", "CanOutPet", 0),
|
| | | ),
|
| | |
|
| | | "FBFunc":(
|
| | |
| | | ("BYTE", "CancelUseLimit", 0),
|
| | | ("list", "LegendAttrID", 0),
|
| | | ("list", "LegendAttrValue", 0),
|
| | | ("list", "OutOfPrintAttr", 0),
|
| | | ("list", "OutOfPrintAttrValue", 0),
|
| | | ),
|
| | |
|
| | | "AuctionItem":(
|
| | |
| | | ("list", "WorldLV", 0),
|
| | | ("list", "Rank", 0),
|
| | | ("list", "Award1", 0),
|
| | | ("dict", "Award2", 0),
|
| | | ("list", "Award2", 0),
|
| | | ),
|
| | |
|
| | | "FairyDomain":(
|
| | |
| | | def GetFightPowerPerPoint(self): return self.FightPowerPerPoint # 每点附加战斗力
|
| | | def GetPointQualityAttrDict(self): return self.PointQualityAttrDict # 点数品质进阶增加属性, {职业:{属性ID:[阶段属性,..],..},..}
|
| | | def GetPointQualityIntervalList(self): return self.PointQualityIntervalList # 点数品质进阶属性点区间列表 |
| | | |
| | | # 灵器属性表 |
| | | class IPY_LingQiAttr(): |
| | | |
| | | def __init__(self): |
| | | self.ItemID = 0
|
| | | self.LingQiAttrID = []
|
| | | self.LingQiAttrValue = []
|
| | | self.LingQiAttrScore = 0 |
| | | return |
| | | |
| | | def GetItemID(self): return self.ItemID # 属性ID
|
| | | def GetLingQiAttrID(self): return self.LingQiAttrID # 灵器属性ID
|
| | | def GetLingQiAttrValue(self): return self.LingQiAttrValue # 灵器属性数值
|
| | | def GetLingQiAttrScore(self): return self.LingQiAttrScore # 灵器属性评分 |
| | | |
| | | # 境界表 |
| | | class IPY_Realm(): |
| | |
| | | self.EquipColorMaxDropCount = {}
|
| | | self.EquipColorSuitInfo = {}
|
| | | self.EquipPartKeyRateInfo = {}
|
| | | self.ColorSuitPartOptimization = 0
|
| | | self.KillCountDropEquipPub = {}
|
| | | self.ItemIDDropRate = {}
|
| | | self.ItemIDMaxDropCount = {}
|
| | |
| | | def GetEquipColorMaxDropCount(self): return self.EquipColorMaxDropCount # 装备颜色最大掉落物品数 {颜色:上限数量,...}
|
| | | def GetEquipColorSuitInfo(self): return self.EquipColorSuitInfo # 装备颜色对应套装概率 {颜色:套装概率, ...}
|
| | | def GetEquipPartKeyRateInfo(self): return self.EquipPartKeyRateInfo # 装备部位集合信息 {(颜色,是否套装):部位集合key, ...}
|
| | | def GetColorSuitPartOptimization(self): return self.ColorSuitPartOptimization # 部位颜色套评分优选掉落,十位代表颜色,个位代表套装
|
| | | def GetKillCountDropEquipPub(self): return self.KillCountDropEquipPub # 第x次击杀附加必掉装备 {次数:[阶,颜色,是否套装,部位集合key], ...}
|
| | | def GetItemIDDropRate(self): return self.ItemIDDropRate # 指定物品ID掉率信息 {物品ID:概率, ...}
|
| | | def GetItemIDMaxDropCount(self): return self.ItemIDMaxDropCount # 指定物品ID最大掉落个数,没配默认1次 {物品ID:随机次数,...}
|
| | |
| | | def GetSweepRunePoint(self): return self.SweepRunePoint # 扫荡符印精华
|
| | | def GetSweepYsog(self): return self.SweepYsog # 扫荡魔精
|
| | | def GetSweepGoodDrop(self): return self.SweepGoodDrop # 扫荡珍稀符印 |
| | | |
| | | # 地图表格 |
| | | class IPY_ChinMap(): |
| | | |
| | | def __init__(self): |
| | | self.MapID = 0
|
| | | self.CanRide = 0
|
| | | self.CanOutPet = 0 |
| | | return |
| | | |
| | | def GetMapID(self): return self.MapID # 地图ID
|
| | | def GetCanRide(self): return self.CanRide # 可否骑乘
|
| | | def GetCanOutPet(self): return self.CanOutPet # 可否召唤宠物 |
| | | |
| | | # 副本总表 |
| | | class IPY_FBFunc(): |
| | |
| | | self.SuiteLV = 0
|
| | | self.CancelUseLimit = 0
|
| | | self.LegendAttrID = []
|
| | | self.LegendAttrValue = []
|
| | | self.OutOfPrintAttr = []
|
| | | self.OutOfPrintAttrValue = [] |
| | | self.LegendAttrValue = [] |
| | | return |
| | | |
| | | def GetID(self): return self.ID # 定制物品ID
|
| | | def GetSuiteLV(self): return self.SuiteLV # 套装等级
|
| | | def GetCancelUseLimit(self): return self.CancelUseLimit # 穿戴限制(除职业)
|
| | | def GetLegendAttrID(self): return self.LegendAttrID # 传奇属性ID
|
| | | def GetLegendAttrValue(self): return self.LegendAttrValue # 传奇属性值
|
| | | def GetOutOfPrintAttr(self): return self.OutOfPrintAttr # 绝版属性ID
|
| | | def GetOutOfPrintAttrValue(self): return self.OutOfPrintAttrValue # 绝版属性最大值 |
| | | def GetLegendAttrValue(self): return self.LegendAttrValue # 传奇属性值 |
| | | |
| | | # 拍卖物品表 |
| | | class IPY_AuctionItem(): |
| | |
| | | self.WorldLV = []
|
| | | self.Rank = []
|
| | | self.Award1 = []
|
| | | self.Award2 = {} |
| | | self.Award2 = [] |
| | | return |
| | | |
| | | def GetLineID(self): return self.LineID # 线路ID
|
| | | def GetWorldLV(self): return self.WorldLV # 世界等级
|
| | | def GetRank(self): return self.Rank # 排名
|
| | | def GetAward1(self): return self.Award1 # 奖励 [[独立概率万分率,[物品ID,数量,是否拍品]],..]
|
| | | def GetAward2(self): return self.Award2 # 饼图奖励{随机次数:[(概率,[物品ID,数量,是否拍品]),..]} |
| | | def GetAward2(self): return self.Award2 # 饼图奖励 [[(概率,[物品ID,数量,是否拍品]),..]] |
| | | |
| | | # 缥缈仙域表 |
| | | class IPY_FairyDomain(): |
| | |
| | | self.ipyDienstgradLen = len(self.ipyDienstgradCache)
|
| | | self.ipyRolePointCache = self.__LoadFileData("RolePoint", IPY_RolePoint)
|
| | | self.ipyRolePointLen = len(self.ipyRolePointCache)
|
| | | self.ipyLingQiAttrCache = self.__LoadFileData("LingQiAttr", IPY_LingQiAttr)
|
| | | self.ipyLingQiAttrLen = len(self.ipyLingQiAttrCache)
|
| | | self.ipyRealmCache = self.__LoadFileData("Realm", IPY_Realm)
|
| | | self.ipyRealmLen = len(self.ipyRealmCache)
|
| | | self.ipyGodWeaponCache = self.__LoadFileData("GodWeapon", IPY_GodWeapon)
|
| | |
| | | self.ipyNPCDropItemLen = len(self.ipyNPCDropItemCache)
|
| | | self.ipyRuneTowerCache = self.__LoadFileData("RuneTower", IPY_RuneTower)
|
| | | self.ipyRuneTowerLen = len(self.ipyRuneTowerCache)
|
| | | self.ipyChinMapCache = self.__LoadFileData("ChinMap", IPY_ChinMap)
|
| | | self.ipyChinMapLen = len(self.ipyChinMapCache)
|
| | | self.ipyFBFuncCache = self.__LoadFileData("FBFunc", IPY_FBFunc)
|
| | | self.ipyFBFuncLen = len(self.ipyFBFuncCache)
|
| | | self.ipyFBLineCache = self.__LoadFileData("FBLine", IPY_FBLine)
|
| | |
| | | def GetDienstgradByIndex(self, index): return self.ipyDienstgradCache[index]
|
| | | def GetRolePointCount(self): return self.ipyRolePointLen
|
| | | def GetRolePointByIndex(self, index): return self.ipyRolePointCache[index]
|
| | | def GetLingQiAttrCount(self): return self.ipyLingQiAttrLen
|
| | | def GetLingQiAttrByIndex(self, index): return self.ipyLingQiAttrCache[index]
|
| | | def GetRealmCount(self): return self.ipyRealmLen
|
| | | def GetRealmByIndex(self, index): return self.ipyRealmCache[index]
|
| | | def GetGodWeaponCount(self): return self.ipyGodWeaponLen
|
| | |
| | | def GetNPCDropItemByIndex(self, index): return self.ipyNPCDropItemCache[index]
|
| | | def GetRuneTowerCount(self): return self.ipyRuneTowerLen
|
| | | def GetRuneTowerByIndex(self, index): return self.ipyRuneTowerCache[index]
|
| | | def GetChinMapCount(self): return self.ipyChinMapLen
|
| | | def GetChinMapByIndex(self, index): return self.ipyChinMapCache[index]
|
| | | def GetFBFuncCount(self): return self.ipyFBFuncLen
|
| | | def GetFBFuncByIndex(self, index): return self.ipyFBFuncCache[index]
|
| | | def GetFBLineCount(self): return self.ipyFBLineLen
|