From da3ac347e89eeb9716815ba875c0d090d1a16cf0 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期六, 27 四月 2019 13:58:57 +0800
Subject: [PATCH] 6603 【后端】【2.0】增加新版的sp和被动技能 -- 印记通知修改
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerYinji.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerYinji.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerYinji.py
index 384c6ab..fcbeb24 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerYinji.py
+++ b/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)
--
Gitblit v1.8.0