From 4490f3bf8d049c7463c86312d8a0f7d325647332 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 12 十月 2018 14:24:32 +0800
Subject: [PATCH] 4115 【后端】神兽出战上限扩展系统广播; 4114 【后端】神兽出战系统广播增加参数:玩家名字;
---
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