From 12392320a13113f580f75c314e74c952b7a9ab7d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 14 十一月 2019 10:31:05 +0800
Subject: [PATCH] 8338 【主干】【后端】女娲的祝福等buff物品的类型分配(新增类型18效果与类型9相同)

---
 ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddPersonalCompensation.py |    5 +++--
 1 files changed, 3 insertions(+), 2 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..156cd8a 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)  
@@ -108,7 +109,7 @@
     addItemDict['Count'] = GameWorld.ToIntDef(gmCmdDict.get('ItemCnt%s'%itemIndexStr, '0'))
     if addItemDict['Count'] == 0:
         return {}
-    addItemDict['IsBind'] = GameWorld.ToIntDef(gmCmdDict.get('IsBind%s'%itemIndexStr, '0'))
+    addItemDict['IsAuctionItem'] = GameWorld.ToIntDef(gmCmdDict.get('IsBind%s'%itemIndexStr, '0'))
     #添加UserData信息
     addItemDict['UserData'] = ''
     UserDataDict = {}

--
Gitblit v1.8.0