| | |
| | | % (curLV, maxLV), curPlayer.GetPlayerID())
|
| | | break
|
| | |
|
| | | addExp = __DoAddLVEx(curPlayer, giveLV, isKeepExp, isOnlyLVUp, lvLimit)
|
| | | addExp = DoAddLVEx(curPlayer, giveLV, isKeepExp, isOnlyLVUp, lvLimit)
|
| | | if not addExp:
|
| | | break
|
| | |
|
| | |
| | | # @param isOnlyLVUp 是否直接提升固定等级
|
| | | # @param formulaIndex 给与经验的公式索引
|
| | | # @return 使用结果字典信息
|
| | | def __DoAddLVEx(curPlayer, giveLV, isKeepExp, isOnlyLVUp, lvLimit):
|
| | | def DoAddLVEx(curPlayer, giveLV, isKeepExp, isOnlyLVUp, lvLimit):
|
| | |
|
| | | curLV = curPlayer.GetLV()
|
| | | lvUpNeedExp = PlayerControl.GetTotalExpByPlayerLv(curLV)
|