| | |
| | | ("BYTE", "IsJobLimit", 0),
|
| | | ("list", "CostEquipColor", 0),
|
| | | ("BYTE", "CostEquipCnt", 0),
|
| | | ("BYTE", "SuitTotalRate", 0),
|
| | | ("BYTE", "UnSuitRate", 0),
|
| | | ("BYTE", "SuitRate", 0),
|
| | | ("dict", "CostItemDict", 0),
|
| | | ("dict", "StarAttrInfo", 0),
|
| | | ("dict", "BaseAttrInfo", 0),
|
| | |
| | | ("DWORD", "NeedExp", 0),
|
| | | ("dict", "AttrInfo", 0),
|
| | | ("BYTE", "SkinIndex", 0),
|
| | | ),
|
| | |
|
| | | "EquipStarUpRate":(
|
| | | ("DWORD", "ClassLV", 1),
|
| | | ("DWORD", "EquipColor", 1),
|
| | | ("DWORD", "EquipPlace", 1),
|
| | | ("DWORD", "IsSuite", 1),
|
| | | ("DWORD", "Rate", 0),
|
| | | ),
|
| | |
|
| | | "HistoryRechargeAward":(
|
| | |
| | | self.IsJobLimit = 0
|
| | | self.CostEquipColor = []
|
| | | self.CostEquipCnt = 0
|
| | | self.SuitTotalRate = 0
|
| | | self.UnSuitRate = 0
|
| | | self.SuitRate = 0
|
| | | self.CostItemDict = {}
|
| | | self.StarAttrInfo = {}
|
| | | self.BaseAttrInfo = {} |
| | |
| | | def GetIsJobLimit(self): return self.IsJobLimit # 是否只用本职业装备材料
|
| | | def GetCostEquipColor(self): return self.CostEquipColor # 可用装备品质
|
| | | def GetCostEquipCnt(self): return self.CostEquipCnt # 装备数量
|
| | | def GetSuitTotalRate(self): return self.SuitTotalRate # 全套装加成概率(非套50%)
|
| | | def GetUnSuitRate(self): return self.UnSuitRate # 单件非套装加成概率
|
| | | def GetSuitRate(self): return self.SuitRate # 单件套装加成概率
|
| | | def GetCostItemDict(self): return self.CostItemDict # 特殊材料
|
| | | def GetStarAttrInfo(self): return self.StarAttrInfo # 星级属性
|
| | | def GetBaseAttrInfo(self): return self.BaseAttrInfo # 基础属性增加 |
| | |
| | | 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 # 概率 |
| | | |
| | | # 累计充值奖励表 |
| | | class IPY_HistoryRechargeAward(): |
| | |
| | | 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)
|
| | | self.ipyHistoryRechargeAwardCache = self.__LoadFileData("HistoryRechargeAward", IPY_HistoryRechargeAward)
|
| | | self.ipyHistoryRechargeAwardLen = len(self.ipyHistoryRechargeAwardCache)
|
| | | Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
|
| | |
| | | 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]
|
| | | def GetHistoryRechargeAwardCount(self): return self.ipyHistoryRechargeAwardLen
|
| | | def GetHistoryRechargeAwardByIndex(self, index): return self.ipyHistoryRechargeAwardCache[index]
|
| | |
|