From 09f108bef7f6c915e0bc80e72d0df267226adf34 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 02 七月 2019 19:53:41 +0800
Subject: [PATCH] 7742 【2.0.100】【主干】【后端】玩家升到某个等级发送邮件奖励(增加可配置每个等级对应的邮件内容模板支持)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
index 2e7c3af..045797c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -4099,8 +4099,9 @@
         mailLVAwardDict = IpyGameDataPY.GetFuncEvalCfg("MailLVAward", 1, {})
         if curLV not in mailLVAwardDict:
             return
+        mailTypeKey, mailItemList = mailLVAwardDict[curLV]
         curPlayer = self.__Player
-        SendMailByKey("LVUpMail", [curPlayer.GetPlayerID()], mailLVAwardDict[curLV], [curLV])
+        SendMailByKey(mailTypeKey, [curPlayer.GetPlayerID()], mailItemList, [curLV])
         return
     
     #---------------------------------------------------------------------

--
Gitblit v1.8.0