xdh
2019-05-10 c2a7d0326f1e779bf6ee184e60d04dd7d43b576b
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)