| | |
| | | ("DWORD", "ExtraTimesMWPriID", 0),
|
| | | ("BYTE", "GuardPick", 0),
|
| | | ("WORD", "OfflineTime", 0),
|
| | | ("WORD", "FBPoint", 0),
|
| | | ("WORD", "HelpPoint", 0),
|
| | | ("BYTE", "DayHelpCountMax", 0),
|
| | | ),
|
| | |
|
| | | "FBLine":(
|
| | |
| | | "FBHelpBattle":(
|
| | | ("DWORD", "DataMapID", 1),
|
| | | ("BYTE", "LineID", 1),
|
| | | ("DWORD", "FightPowerMin", 0),
|
| | | ("DWORD", "RobotFightPower", 0),
|
| | | ("WORD", "RobotLV", 0),
|
| | | ("DWORD", "RobotBaseHurt", 0),
|
| | | ("WORD", "RobotHPCoefficient", 0),
|
| | | ("dict", "RobotSkillsDict", 0),
|
| | | ),
|
| | |
|
| | |
| | | ("WORD", "GainGoldPrize", 0),
|
| | | ("WORD", "FirstGoldPrize", 0),
|
| | | ("list", "GainItemList", 0),
|
| | | ("char", "NotifyMark", 0),
|
| | | ),
|
| | |
|
| | | "LVAward":(
|
| | |
| | | ("BYTE", "Star", 0),
|
| | | ("list", "LVLimit", 0),
|
| | | ("list", "ItemList", 0),
|
| | | ),
|
| | |
|
| | | "GodWeaponEffect":(
|
| | | ("BYTE", "GWType", 0),
|
| | | ("WORD", "Level", 0),
|
| | | ("char", "NotifyCode", 0),
|
| | | ),
|
| | | }
|
| | |
|
| | |
| | | self.ExtraTimesMWPriID = 0
|
| | | self.GuardPick = 0
|
| | | self.OfflineTime = 0
|
| | | self.HelpPoint = 0 |
| | | self.FBPoint = 0
|
| | | self.HelpPoint = 0
|
| | | self.DayHelpCountMax = 0 |
| | | return |
| | | |
| | | def GetDataMapID(self): return self.DataMapID # 数据地图ID
|
| | |
| | | def GetExtraTimesMWPriID(self): return self.ExtraTimesMWPriID # 额外次数法宝权限ID
|
| | | def GetGuardPick(self): return self.GuardPick # 该地图守护是否能拾取
|
| | | def GetOfflineTime(self): return self.OfflineTime # 离线多久退出副本(秒)
|
| | | def GetHelpPoint(self): return self.HelpPoint # 助战积分(0代表不可助战) |
| | | def GetFBPoint(self): return self.FBPoint # 副本过关仙缘币
|
| | | def GetHelpPoint(self): return self.HelpPoint # 助战仙缘币(0代表不可助战)
|
| | | def GetDayHelpCountMax(self): return self.DayHelpCountMax # 每日手动助战获得仙缘币次数(非镜像) |
| | | |
| | | # 副本功能线路表 |
| | | class IPY_FBLine(): |
| | |
| | | def __init__(self): |
| | | self.DataMapID = 0
|
| | | self.LineID = 0
|
| | | self.FightPowerMin = 0
|
| | | self.RobotFightPower = 0
|
| | | self.RobotLV = 0
|
| | | self.RobotBaseHurt = 0
|
| | | self.RobotHPCoefficient = 0
|
| | | self.RobotSkillsDict = {} |
| | | return |
| | | |
| | | def GetDataMapID(self): return self.DataMapID # 数据地图ID
|
| | | def GetLineID(self): return self.LineID # 功能线路ID
|
| | | def GetFightPowerMin(self): return self.FightPowerMin # 助战最低战力,也是副本保底战力
|
| | | def GetRobotFightPower(self): return self.RobotFightPower # 助战NPC战力
|
| | | def GetRobotLV(self): return self.RobotLV # 助战NPC等级
|
| | | def GetRobotBaseHurt(self): return self.RobotBaseHurt # 助战NPC保底伤害
|
| | | def GetRobotHPCoefficient(self): return self.RobotHPCoefficient # 助战NPC生命系数
|
| | | def GetRobotSkillsDict(self): return self.RobotSkillsDict # 助战NPC技能, {"职业":[技能列表], ...} |
| | | |
| | | # 副本刷怪标识点表 |
| | |
| | | self.GainGold = 0
|
| | | self.GainGoldPrize = 0
|
| | | self.FirstGoldPrize = 0
|
| | | self.GainItemList = [] |
| | | self.GainItemList = []
|
| | | self.NotifyMark = "" |
| | | return |
| | | |
| | | def GetRecordID(self): return self.RecordID # 记录ID
|
| | |
| | | def GetGainGold(self): return self.GainGold # 获得仙玉数
|
| | | def GetGainGoldPrize(self): return self.GainGoldPrize # 赠送仙玉数
|
| | | def GetFirstGoldPrize(self): return self.FirstGoldPrize # 首次充值该档位赠送仙玉
|
| | | def GetGainItemList(self): return self.GainItemList # 获得物品列表[[物品ID,个数,是否绑定], ...] |
| | | def GetGainItemList(self): return self.GainItemList # 获得物品列表[[物品ID,个数,是否绑定], ...]
|
| | | def GetNotifyMark(self): return self.NotifyMark # 广播提示 |
| | | |
| | | # 等级奖励表 |
| | | class IPY_LVAward(): |
| | |
| | | def GetStar(self): return self.Star # 星数
|
| | | def GetLVLimit(self): return self.LVLimit # 等级范围
|
| | | def GetItemList(self): return self.ItemList # 奖励 |
| | | |
| | | # 神兵特效表 |
| | | class IPY_GodWeaponEffect(): |
| | | |
| | | def __init__(self): |
| | | self.GWType = 0
|
| | | self.Level = 0
|
| | | self.NotifyCode = "" |
| | | return |
| | | |
| | | def GetGWType(self): return self.GWType # 神兵类型
|
| | | def GetLevel(self): return self.Level # 神兵等级
|
| | | def GetNotifyCode(self): return self.NotifyCode # 广播 |
| | |
|
| | |
|
| | | def Log(msg, playerID=0, par=0):
|
| | |
| | | self.ipyMagicWeaponFBLen = len(self.ipyMagicWeaponFBCache)
|
| | | self.ipyIceLodeStarAwardCache = self.__LoadFileData("IceLodeStarAward", IPY_IceLodeStarAward)
|
| | | self.ipyIceLodeStarAwardLen = len(self.ipyIceLodeStarAwardCache)
|
| | | self.ipyGodWeaponEffectCache = self.__LoadFileData("GodWeaponEffect", IPY_GodWeaponEffect)
|
| | | self.ipyGodWeaponEffectLen = len(self.ipyGodWeaponEffectCache)
|
| | | Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
|
| | | Log("IPY_DataMgr InitOK!")
|
| | | return
|
| | |
| | | def GetMagicWeaponFBByIndex(self, index): return self.ipyMagicWeaponFBCache[index]
|
| | | def GetIceLodeStarAwardCount(self): return self.ipyIceLodeStarAwardLen
|
| | | def GetIceLodeStarAwardByIndex(self, index): return self.ipyIceLodeStarAwardCache[index]
|
| | | def GetGodWeaponEffectCount(self): return self.ipyGodWeaponEffectLen
|
| | | def GetGodWeaponEffectByIndex(self, index): return self.ipyGodWeaponEffectCache[index]
|
| | |
|
| | | IPYData = IPY_DataMgr()
|
| | | def IPY_Data(): return IPYData
|