xdh
2018-10-30 0faf0cd221e7aa589b5d085c05b84ce9ebf8631c
4449 【1.2】【后端】仙盟宴会传功经验
1个文件已修改
4 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_AddLV.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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)