xdh
2018-10-31 8a3b39e2b66ab9f7d1f1ac65082980d1de8a9582
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_AddLV.py
@@ -69,7 +69,7 @@
                          % (curLV, maxLV), curPlayer.GetPlayerID())
            break
        
        addExp = __DoAddLVEx(curPlayer, giveLV, isKeepExp, isOnlyLVUp, lvLimit)
        addExp = DoAddLVEx(curPlayer, giveLV, isKeepExp, isOnlyLVUp, lvLimit)
        if not addExp:
            break
        
@@ -98,7 +98,7 @@
# @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)