From 78b01d7924cd2fbccdbcea874816820641883d7c Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期一, 18 二月 2019 17:43:25 +0800 Subject: [PATCH] 6209 【后端】【1.6】合服开发单 - 合(混)服后支持发单服邮件 --- ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddEntireCompensation.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddEntireCompensation.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddEntireCompensation.py index e75bbab..2124179 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddEntireCompensation.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddEntireCompensation.py @@ -76,6 +76,8 @@ silver = int(gmCmdDict.get('Silver', '0')) sender = gmCmdDict.get('Sender', ChConfig.Def_Mail_SenderSys) detail = gmCmdDict.get('Detail', "") + serverID = int(gmCmdDict.get('OnlyServerID', "0")) + #工具发过来的物品下标依据 'index,index,...' 不一定是从0开始并按顺序连续 =_=# intemIndexStrList = [] @@ -94,10 +96,9 @@ #if len(addItemDictList) == 0: # GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_ParamErr) # return - PlayerCompensation.AddEntireItem(GUID, addItemDictList, LimitTime, mailInfo, PlayerJob, "%s<$_$>%s<$_$>%s"%(sender, Title, Text), - gold, goldPaper, silver, detail) + gold, goldPaper, silver, detail, serverID) #执行成功 GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_Success, {"GUID":GUID}) -- Gitblit v1.8.0