| | |
| | | ipyDataMgr = IpyGameDataPY.IPY_Data()
|
| | | for index in xrange(ipyDataMgr.GetHorseLVUpCount()):
|
| | | horseIpyData = ipyDataMgr.GetHorseLVUpByIndex(index)
|
| | | if horseIpyData.GetHorseLV() >= horseLV:
|
| | | totalItemCount += curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_HorserEatItemCount)
|
| | | dataHorseLV = horseIpyData.GetHorseLV()
|
| | | if dataHorseLV > horseLV:
|
| | | break
|
| | | |
| | | elif dataHorseLV == horseLV:
|
| | | totalItemCount += curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_HorserEatItemCount)
|
| | | else:
|
| | | totalItemCount += horseIpyData.GetNeedEatCount()
|
| | | |
| | | # 等阶额外属性
|
| | | totalItemCount += horseIpyData.GetNeedEatCount()
|
| | | lvAttrTypeList = horseIpyData.GetLVAttrType()
|
| | | lvAttrValueList = horseIpyData.GetLVAttrValue()
|
| | | for i, attrID in enumerate(lvAttrTypeList):
|