From d0d6af30f0a6854b23ada340b5a618eb50c6f865 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期六, 20 十月 2018 22:20:03 +0800 Subject: [PATCH] 2683 子 天赋技能和新增双职业各两个技能 / 【后端】天赋技能 - buff层级变化触发技能,添加精灵召唤兽 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py index 0a68d1a..9a12a1d 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py @@ -293,10 +293,11 @@ if isFight and ipyData.GetHelpBattleNotify(): curTime = int(time.time()) + playerName = curPlayer.GetPlayerName() notifyKey, notifyParamList, notifyCD = ipyData.GetHelpBattleNotify() lastNotifyTime = g_helpBattleNotifyTimeDict.get(dogzID, 0) if curTime - lastNotifyTime >= notifyCD * 60: - PlayerControl.WorldNotify(0, notifyKey, notifyParamList) + PlayerControl.WorldNotify(0, notifyKey, [playerName] + notifyParamList) g_helpBattleNotifyTimeDict[dogzID] = curTime return @@ -335,6 +336,7 @@ GameWorld.DebugLog("购买神兽助战位! updBuyCount=%s" % updBuyCount, playerID) Sync_DogzInfo(curPlayer) + PlayerControl.WorldNotify(0, "DogzNumberUp", [curPlayer.GetPlayerName(), needItemID, curHelpFightCount + 1]) return -- Gitblit v1.8.0