ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerYinji.py | ●●●●● 补丁 | 查看 | 原始文档 | 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)