From 47f6627083fb64b82fb238b384ce23f29228e7f1 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期六, 15 六月 2019 15:16:50 +0800 Subject: [PATCH] 7292 【2.0】【后端】前2次升星成功率定制 --- 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