| | |
| | | ("char", "Parameter", 0),
|
| | | ),
|
| | |
|
| | | "FightPowerRatio":(
|
| | | ("DWORD", "RealmLV", 1),
|
| | | ("float", "AtkRatio", 0),
|
| | | ("float", "MaxHPRatio", 0),
|
| | | ("float", "DefRatio", 0),
|
| | | ("float", "StunRateRatio", 0),
|
| | | ("float", "SuperHitRateRatio", 0),
|
| | | ("float", "ComboRateRatio", 0),
|
| | | ("float", "MissRateRatio", 0),
|
| | | ("float", "ParryRateRatio", 0),
|
| | | ("float", "SuckHPPerRatio", 0),
|
| | | ("float", "StunRateDefRatio", 0),
|
| | | ("float", "SuperHitRateDefRatio", 0),
|
| | | ("float", "ComboRateDefRatio", 0),
|
| | | ("float", "MissRateDefRatio", 0),
|
| | | ("float", "ParryRateDefRatio", 0),
|
| | | ("float", "SuckHPPerDefRatio", 0),
|
| | | ("float", "FinalDamPerRatio", 0),
|
| | | ("float", "FinalDamPerDefRatio", 0),
|
| | | ("float", "PhyDamPerRatio", 0),
|
| | | ("float", "PhyDamPerDefRatio", 0),
|
| | | ("float", "MagDamPerRatio", 0),
|
| | | ("float", "MagDamPerDefRatio", 0),
|
| | | ("float", "NormalSkillPerRatio", 0),
|
| | | ("float", "NormalSkillPerDefRatio", 0),
|
| | | ("float", "AngerSkillPerRatio", 0),
|
| | | ("float", "AngerSkillPerDefRatio", 0),
|
| | | ("float", "SuperDamPerRatio", 0),
|
| | | ("float", "SuperDamPerDefRatio", 0),
|
| | | ("float", "CurePerRatio", 0),
|
| | | ("float", "CurePerDefRatio", 0),
|
| | | ("float", "ShieldPerRatio", 0),
|
| | | ("float", "ShieldPerDefRatio", 0),
|
| | | ("float", "DOTPerRatio", 0),
|
| | | ("float", "DOTPerDefRatio", 0),
|
| | | ("float", "WeiFinalDamPerRatio", 0),
|
| | | ("float", "WeiFinalDamPerDefRatio", 0),
|
| | | ("float", "ShuFinalDamPerRatio", 0),
|
| | | ("float", "ShuFinalDamPerDefRatio", 0),
|
| | | ("float", "WuFinalDamPerRatio", 0),
|
| | | ("float", "WuFinalDamPerDefRatio", 0),
|
| | | ("float", "QunFinalDamPerRatio", 0),
|
| | | ("float", "QunFinalDamPerDefRatio", 0),
|
| | | ),
|
| | |
|
| | | "MainChapter":(
|
| | | ("BYTE", "ChapterID", 1),
|
| | | ("list", "DailyBootyUpperList", 0),
|
| | |
| | | |
| | | def GetAttrID(self): return self.attrTuple[0] # 属性ID DWORD
|
| | | def GetParameter(self): return self.attrTuple[1] # 属性名、参数名 char |
| | | |
| | | # 战力系数 |
| | | class IPY_FightPowerRatio(): |
| | | |
| | | def __init__(self): |
| | | self.attrTuple = None |
| | | return |
| | | |
| | | def GetRealmLV(self): return self.attrTuple[0] # 境界等级 DWORD
|
| | | def GetAtkRatio(self): return self.attrTuple[1] # 攻击系数 float
|
| | | def GetMaxHPRatio(self): return self.attrTuple[2] # float
|
| | | def GetDefRatio(self): return self.attrTuple[3] # float
|
| | | def GetStunRateRatio(self): return self.attrTuple[4] # float
|
| | | def GetSuperHitRateRatio(self): return self.attrTuple[5] # float
|
| | | def GetComboRateRatio(self): return self.attrTuple[6] # float
|
| | | def GetMissRateRatio(self): return self.attrTuple[7] # float
|
| | | def GetParryRateRatio(self): return self.attrTuple[8] # float
|
| | | def GetSuckHPPerRatio(self): return self.attrTuple[9] # float
|
| | | def GetStunRateDefRatio(self): return self.attrTuple[10] # float
|
| | | def GetSuperHitRateDefRatio(self): return self.attrTuple[11] # float
|
| | | def GetComboRateDefRatio(self): return self.attrTuple[12] # float
|
| | | def GetMissRateDefRatio(self): return self.attrTuple[13] # float
|
| | | def GetParryRateDefRatio(self): return self.attrTuple[14] # float
|
| | | def GetSuckHPPerDefRatio(self): return self.attrTuple[15] # float
|
| | | def GetFinalDamPerRatio(self): return self.attrTuple[16] # float
|
| | | def GetFinalDamPerDefRatio(self): return self.attrTuple[17] # float
|
| | | def GetPhyDamPerRatio(self): return self.attrTuple[18] # float
|
| | | def GetPhyDamPerDefRatio(self): return self.attrTuple[19] # float
|
| | | def GetMagDamPerRatio(self): return self.attrTuple[20] # float
|
| | | def GetMagDamPerDefRatio(self): return self.attrTuple[21] # float
|
| | | def GetNormalSkillPerRatio(self): return self.attrTuple[22] # float
|
| | | def GetNormalSkillPerDefRatio(self): return self.attrTuple[23] # float
|
| | | def GetAngerSkillPerRatio(self): return self.attrTuple[24] # float
|
| | | def GetAngerSkillPerDefRatio(self): return self.attrTuple[25] # float
|
| | | def GetSuperDamPerRatio(self): return self.attrTuple[26] # float
|
| | | def GetSuperDamPerDefRatio(self): return self.attrTuple[27] # float
|
| | | def GetCurePerRatio(self): return self.attrTuple[28] # float
|
| | | def GetCurePerDefRatio(self): return self.attrTuple[29] # float
|
| | | def GetShieldPerRatio(self): return self.attrTuple[30] # float
|
| | | def GetShieldPerDefRatio(self): return self.attrTuple[31] # float
|
| | | def GetDOTPerRatio(self): return self.attrTuple[32] # float
|
| | | def GetDOTPerDefRatio(self): return self.attrTuple[33] # float
|
| | | def GetWeiFinalDamPerRatio(self): return self.attrTuple[34] # float
|
| | | def GetWeiFinalDamPerDefRatio(self): return self.attrTuple[35] # float
|
| | | def GetShuFinalDamPerRatio(self): return self.attrTuple[36] # float
|
| | | def GetShuFinalDamPerDefRatio(self): return self.attrTuple[37] # float
|
| | | def GetWuFinalDamPerRatio(self): return self.attrTuple[38] # float
|
| | | def GetWuFinalDamPerDefRatio(self): return self.attrTuple[39] # float
|
| | | def GetQunFinalDamPerRatio(self): return self.attrTuple[40] # float
|
| | | def GetQunFinalDamPerDefRatio(self): return self.attrTuple[41] # float |
| | | |
| | | # 主线章节表 |
| | | class IPY_MainChapter(): |
| | |
| | | self.__LoadFileData("HeroQualityAwake", onlyCheck)
|
| | | self.__LoadFileData("HeroQualityLV", onlyCheck)
|
| | | self.__LoadFileData("PlayerAttr", onlyCheck)
|
| | | self.__LoadFileData("FightPowerRatio", onlyCheck)
|
| | | self.__LoadFileData("MainChapter", onlyCheck)
|
| | | self.__LoadFileData("MainLevel", onlyCheck)
|
| | | self.__LoadFileData("NPCLineup", onlyCheck)
|
| | |
| | | self.CheckLoadData("PlayerAttr") |
| | | return self.ipyPlayerAttrCache[index]
|
| | | |
| | | def GetFightPowerRatioCount(self): |
| | | self.CheckLoadData("FightPowerRatio") |
| | | return self.ipyFightPowerRatioLen
|
| | | def GetFightPowerRatioByIndex(self, index): |
| | | self.CheckLoadData("FightPowerRatio") |
| | | return self.ipyFightPowerRatioCache[index]
|
| | | |
| | | def GetMainChapterCount(self): |
| | | self.CheckLoadData("MainChapter") |
| | | return self.ipyMainChapterLen
|