From ed70a10c9930216ebc72713e37e21cb1d33349e2 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 10 十二月 2019 18:08:07 +0800 Subject: [PATCH] 8346 【恺英】【后端】协助系统(增加协助感谢礼盒表) --- ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddEntireCompensation.py | 6 ++++-- 1 files changed, 4 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 36fba64..2124179 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddEntireCompensation.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddEntireCompensation.py @@ -75,6 +75,9 @@ goldPaper = int(gmCmdDict.get('GoldPaper', '0')) 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 = [] @@ -93,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) + gold, goldPaper, silver, detail, serverID) #执行成功 GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_Success, {"GUID":GUID}) -- Gitblit v1.8.0