hch
2019-04-27 da3ac347e89eeb9716815ba875c0d090d1a16cf0
6603 【后端】【2.0】增加新版的sp和被动技能  --  印记通知修改
1个文件已修改
4 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerYinji.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerYinji.py
@@ -23,7 +23,6 @@
Def_LastYinji_Tick = "lastyjtick"   # 上一次印记消失时间
#CDBPlayerRefresh_XP
def AddYinji(curPlayer, cnt):
    beforeCnt = PlayerControl.GetYinjiCnt(curPlayer)
    #上限    X个
@@ -36,7 +35,7 @@
    return
def SubYinji(curPlayer, cnt):
    PlayerControl.SetYinjiCnt(curPlayer, max(curPlayer.GetXP() - cnt, 0))
    PlayerControl.SetYinjiCnt(curPlayer, max(PlayerControl.GetYinjiCnt(curPlayer) - cnt, 0))
    return
@@ -51,6 +50,7 @@
    
    StartYinjiTick(curPlayer)
    
    SubYinji(curPlayer, 1)