From c3bb4072a13fc6e9541c971dec3f2865184136cd Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 10 六月 2019 17:41:59 +0800
Subject: [PATCH] 3987 【BUG】【2.0】满级,传功,显示获得36446亿的修为

---
 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