From 09a189483bb323709ac8ff358be35c8e96b56362 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 01 十一月 2024 15:14:27 +0800
Subject: [PATCH] 10261 【越南】【砍树】【英文】【tqxbqy】头像框,头像(补充通知:A922、A923、A927、A928、B920、B922、B033、B035)
---
 ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddPersonalCompensation.py |    4 +++-
 1 files changed, 3 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 8309b56..11f4b33 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddPersonalCompensation.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddPersonalCompensation.py
@@ -51,6 +51,7 @@
 def OnExec(orderId, gmCmdDict):
     strMsg = ""
     gmCmdDict = ClearEmptyFromDict(gmCmdDict)
+    GameWorld.DebugLog("GMT_AddPersonalCompensation gmCmdDict:%s" % gmCmdDict)
     queryType = gmCmdDict.get(GMCommon.Def_GMKey_QueryType, '')
     if queryType == GMCommon.Def_GMKey_FamilyID:
         sendFamilyIDList = []
@@ -90,6 +91,7 @@
         GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_InvalidTime)
         return
         
+    MailType = int(gmCmdDict.get('MailType', '0'))
     Title = gmCmdDict.get('Title', '')
     Text = gmCmdDict.get('Text', '')
     GUID = str(uuid.uuid1())
@@ -118,7 +120,7 @@
     #    GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_ParamErr)
     #    return
     PlayerCompensation.AddPersonalItem(GUID, addItemDictList, PlayerIDList, 
-                                       LimitTime, "%s<$_$>%s<$_$>%s"%(sender, Title, Text),
+                                       LimitTime, PlayerCompensation.GetMailText(Title, Text, MailType, sender),
                                        gold, goldPaper, silver, detail=detail)
     
     #执行成功
--
Gitblit v1.8.0