From 82ca2dd1656364f93523af726ac81b7823cbc3d2 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期日, 06 十月 2019 21:20:08 +0800 Subject: [PATCH] 8298 【恺英】【开发】基础套装极/仙/神进阶(神、仙、极传奇属性支持) --- 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