From ca358a222ca80d523fb232b1fd95b01450f8c1b6 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 24 十二月 2019 14:46:22 +0800 Subject: [PATCH] 8346 【恺英】【后端】协助系统(增加协助boss成功仙盟广播) --- ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerCompensation.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerCompensation.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerCompensation.py index 18599de..d67cf3f 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerCompensation.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerCompensation.py @@ -273,7 +273,7 @@ compensationDict = {"GUID":GUID, "CheckState":checkState, "LimitLVType":limitLVType, "LimitLV":limitLV, "Gold":compensation.Gold, "GoldPaper":compensation.GoldPaper, "Silver":compensation.Silver, - "PlayerJob":compensation.PlayerJob, "Sender":sender, "Title":title, "Content":content, + "PlayerJob":compensation.PlayerJob, "Sender":sender, "Title":title, "Content":content, "OnlyServerID":compensation.ServerID, "CreateTime":compensation.CreateTime, "LimitTime":compensation.LimitTime, "ItemList":itemList} return compensationDict @@ -617,6 +617,11 @@ SetPrizeState(curPlayerID, curRequire.GUID, Disable_State, readState) continue + if curRequire.ServerID and curRequire.ServerID != GameWorld.GetPlayerServerID(curPlayer): + # 指定服务器邮件 + SetPrizeState(curPlayerID, curRequire.GUID, Disable_State, readState) + continue + #可以用的奖励 if Enable_State != curState: SetPrizeState(curPlayerID, curRequire.GUID, Enable_State, readState) -- Gitblit v1.8.0