| | |
| | | reModelID = lineupIpyData.GetReModelID()
|
| | | lvReIpyData = None
|
| | | heroIpyData = IpyGameDataPY.GetIpyGameData("Hero", heroID) if heroID else None
|
| | | npcStronger = IpyGameDataPY.GetIpyGameDataNotLog("NPCStronger", npcID)
|
| | | npcStronger = None
|
| | | npcStrongerList = IpyGameDataPY.GetIpyGameDataListNotLog("NPCStronger", npcID)
|
| | | if npcStrongerList and strongerLV:
|
| | | for strongerData in npcStrongerList:
|
| | | if not strongerData.GetNPCLV() or strongerLV <= strongerData.GetNPCLV():
|
| | | npcStronger = strongerData
|
| | | break
|
| | | if not npcStronger:
|
| | | npcStronger = npcStrongerList[-1] # 找不到时取最后一条
|
| | | |
| | | if npcStronger and strongerLV:
|
| | | lvReIpyData = IpyGameDataPY.GetIpyGameData("LVReValue", reModelID, strongerLV)
|
| | | if lvReIpyData:
|