| | |
| | | ("dict", "AttrInfo", 0),
|
| | | ("BYTE", "SkinIndex", 0),
|
| | | ),
|
| | |
|
| | | "EquipStarUpRate":(
|
| | | ("DWORD", "ClassLV", 1),
|
| | | ("DWORD", "EquipColor", 1),
|
| | | ("DWORD", "EquipPlace", 1),
|
| | | ("DWORD", "IsSuite", 1),
|
| | | ("DWORD", "Rate", 0),
|
| | | ),
|
| | | }
|
| | |
|
| | | |
| | |
| | | def GetNeedExp(self): return self.NeedExp # 升级需要经验
|
| | | def GetAttrInfo(self): return self.AttrInfo # 属性
|
| | | def GetSkinIndex(self): return self.SkinIndex # 外观 |
| | | |
| | | # 骑宠幻化表 |
| | | class IPY_EquipStarUpRate(): |
| | | |
| | | def __init__(self): |
| | | self.ClassLV = 0
|
| | | self.EquipColor = 0
|
| | | self.EquipPlace = 0
|
| | | self.IsSuite = 0
|
| | | self.Rate = 0 |
| | | return |
| | | |
| | | def GetClassLV(self): return self.ClassLV # 装备阶级
|
| | | def GetEquipColor(self): return self.EquipColor # 品质
|
| | | def GetEquipPlace(self): return self.EquipPlace # 部位
|
| | | def GetIsSuite(self): return self.IsSuite # 是否套装
|
| | | def GetRate(self): return self.Rate # 概率 |
| | |
|
| | |
|
| | | def Log(msg, playerID=0, par=0):
|
| | |
| | | self.ipyLingGenEffectLen = len(self.ipyLingGenEffectCache)
|
| | | self.ipyHorsePetSkinCache = self.__LoadFileData("HorsePetSkin", IPY_HorsePetSkin)
|
| | | self.ipyHorsePetSkinLen = len(self.ipyHorsePetSkinCache)
|
| | | self.ipyEquipStarUpRateCache = self.__LoadFileData("EquipStarUpRate", IPY_EquipStarUpRate)
|
| | | self.ipyEquipStarUpRateLen = len(self.ipyEquipStarUpRateCache)
|
| | | Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
|
| | | Log("IPY_DataMgr InitOK!")
|
| | | return
|
| | |
| | | def GetLingGenEffectByIndex(self, index): return self.ipyLingGenEffectCache[index]
|
| | | def GetHorsePetSkinCount(self): return self.ipyHorsePetSkinLen
|
| | | def GetHorsePetSkinByIndex(self, index): return self.ipyHorsePetSkinCache[index]
|
| | | def GetEquipStarUpRateCount(self): return self.ipyEquipStarUpRateLen
|
| | | def GetEquipStarUpRateByIndex(self, index): return self.ipyEquipStarUpRateCache[index]
|
| | |
|
| | | IPYData = IPY_DataMgr()
|
| | | def IPY_Data(): return IPYData
|