From 75c16c80bcacd22c5e0bc4c7a77ffca594ad4e2f Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期二, 25 九月 2018 21:16:21 +0800 Subject: [PATCH] 1834 装备分解-服务端防范不分解非装备道具 --- ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddPersonalCompensation.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddPersonalCompensation.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddPersonalCompensation.py index 9ee45eb..f5b5b61 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddPersonalCompensation.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddPersonalCompensation.py @@ -71,6 +71,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 = [] @@ -91,7 +92,7 @@ # return PlayerCompensation.AddPersonalItem(GUID, addItemDictList, PlayerIDList, LimitTime, "%s<$_$>%s<$_$>%s"%(sender, Title, Text), - gold, goldPaper, silver) + gold, goldPaper, silver, detail=detail) #执行成功 GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_Success) -- Gitblit v1.8.0