| | |
| | | ("char", "MoneyCount", 0),
|
| | | ),
|
| | |
|
| | | "MapRefreshNPC":(
|
| | | ("DWORD", "MapID", 1),
|
| | | ("BYTE", "RefreshNum", 0),
|
| | | ("list", "NPCIDList", 0),
|
| | | ("list", "RefreshMarkList", 0),
|
| | | ("BYTE", "PointMaxCount", 0),
|
| | | ("BYTE", "TotalMaxCount", 0),
|
| | | ("BYTE", "RefreshSeconds", 0),
|
| | | ("BYTE", "RefreshPerMinutes", 0),
|
| | | ),
|
| | |
|
| | | "RuneCompound":(
|
| | | ("DWORD", "TagItemID", 1),
|
| | | ("list", "NeedItem", 0),
|
| | |
| | | def GetInspireMaxLV(self): return self.InspireMaxLV # 鼓舞等级限制
|
| | | def GetMoneyCount(self): return self.MoneyCount # 单次消耗金钱数量 |
| | | |
| | | # 地图标试点NPC刷新 |
| | | class IPY_MapRefreshNPC(): |
| | | |
| | | def __init__(self): |
| | | self.MapID = 0
|
| | | self.RefreshNum = 0
|
| | | self.NPCIDList = []
|
| | | self.RefreshMarkList = []
|
| | | self.PointMaxCount = 0
|
| | | self.TotalMaxCount = 0
|
| | | self.RefreshSeconds = 0
|
| | | self.RefreshPerMinutes = 0 |
| | | return |
| | | |
| | | def GetMapID(self): return self.MapID # 地图ID
|
| | | def GetRefreshNum(self): return self.RefreshNum # 刷怪规则编号
|
| | | def GetNPCIDList(self): return self.NPCIDList # NPCID列表
|
| | | def GetRefreshMarkList(self): return self.RefreshMarkList # 标试点列表
|
| | | def GetPointMaxCount(self): return self.PointMaxCount # 单个点最大存在怪物数
|
| | | def GetTotalMaxCount(self): return self.TotalMaxCount # 所有点总怪物数
|
| | | def GetRefreshSeconds(self): return self.RefreshSeconds # 刷怪间隔秒
|
| | | def GetRefreshPerMinutes(self): return self.RefreshPerMinutes # 每整X分刷怪 |
| | | |
| | | # 符印合成表 |
| | | class IPY_RuneCompound(): |
| | | |
| | |
| | | self.ipySealDemonLen = len(self.ipySealDemonCache)
|
| | | self.ipyFbEncourageCache = self.__LoadFileData("FbEncourage", IPY_FbEncourage)
|
| | | self.ipyFbEncourageLen = len(self.ipyFbEncourageCache)
|
| | | self.ipyMapRefreshNPCCache = self.__LoadFileData("MapRefreshNPC", IPY_MapRefreshNPC)
|
| | | self.ipyMapRefreshNPCLen = len(self.ipyMapRefreshNPCCache)
|
| | | self.ipyRuneCompoundCache = self.__LoadFileData("RuneCompound", IPY_RuneCompound)
|
| | | self.ipyRuneCompoundLen = len(self.ipyRuneCompoundCache)
|
| | | self.ipyResourcesBackCache = self.__LoadFileData("ResourcesBack", IPY_ResourcesBack)
|
| | |
| | | def GetSealDemonByIndex(self, index): return self.ipySealDemonCache[index]
|
| | | def GetFbEncourageCount(self): return self.ipyFbEncourageLen
|
| | | def GetFbEncourageByIndex(self, index): return self.ipyFbEncourageCache[index]
|
| | | def GetMapRefreshNPCCount(self): return self.ipyMapRefreshNPCLen
|
| | | def GetMapRefreshNPCByIndex(self, index): return self.ipyMapRefreshNPCCache[index]
|
| | | def GetRuneCompoundCount(self): return self.ipyRuneCompoundLen
|
| | | def GetRuneCompoundByIndex(self, index): return self.ipyRuneCompoundCache[index]
|
| | | def GetResourcesBackCount(self): return self.ipyResourcesBackLen
|