From b1e6ff14aa3d6afb07510ab535a369c7527f4a8a Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 27 十一月 2018 21:40:17 +0800 Subject: [PATCH] 4762 【后端】增加仙缘币为0时的原因同步; --- ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddEntireCompensation.py | 3 ++- 1 files changed, 2 insertions(+), 1 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..e75bbab 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddEntireCompensation.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddEntireCompensation.py @@ -75,6 +75,7 @@ goldPaper = int(gmCmdDict.get('GoldPaper', '0')) silver = int(gmCmdDict.get('Silver', '0')) sender = gmCmdDict.get('Sender', ChConfig.Def_Mail_SenderSys) + detail = gmCmdDict.get('Detail', "") #工具发过来的物品下标依据 'index,index,...' 不一定是从0开始并按顺序连续 =_=# intemIndexStrList = [] @@ -96,7 +97,7 @@ PlayerCompensation.AddEntireItem(GUID, addItemDictList, LimitTime, mailInfo, PlayerJob, "%s<$_$>%s<$_$>%s"%(sender, Title, Text), - gold, goldPaper, silver) + gold, goldPaper, silver, detail) #执行成功 GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_Success, {"GUID":GUID}) -- Gitblit v1.8.0