From aba9f71e75f2d956c621c9ad21593838e04fa312 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 27 十一月 2024 11:51:53 +0800
Subject: [PATCH] 10318 【英文】【越南】【BT】【砍树】统一增加奖励获得封包

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
index 705d6e0..27eb7e7 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
@@ -688,6 +688,8 @@
         ctgRealTotal += orderCoin
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CTGRealTotal, ctgRealTotal)
         
+    orderInfo = addDRDict.get("orderInfo", "")
+    ctgID = ctgIpyData.GetRecordID() if ctgIpyData else 0
     notifyMark = ctgIpyData.GetNotifyMark() if ctgIpyData else ""
     goldBefore = curPlayer.GetGold()
     bourseMoneyBefore = PlayerControl.GetMoney(curPlayer, ShareDefine.TYPE_Price_BourseMoney)
@@ -699,14 +701,16 @@
         PlayerControl.GiveMoney(curPlayer, moneyType, prizeGold, eventName, addDRDict, isGiveBourseMoney=isAddBourseMoney)
         
     if giveItemList:
-        ItemControler.GivePlayerItemOrMail(curPlayer, giveItemList, "", event=[ChConfig.ItemGive_CTG, True, copy.deepcopy(addDRDict)])
+        ItemControler.GivePlayerItemOrMail(curPlayer, giveItemList, "", event=[ChConfig.ItemGive_CTG, True, copy.deepcopy(addDRDict)], isNotifyAward=False)
         if notifyMark:
             mainItemID = giveItemList[0][0]
             PlayerControl.WorldNotify(0, notifyMark, [curPlayer.GetName(), mainItemID, ''])
     else:
         if notifyMark:
             PlayerControl.WorldNotify(0, notifyMark, [curPlayer.GetName()])
-            
+    ItemControler.NotifyGiveAwardInfo(curPlayer, giveItemList, ChConfig.ItemGive_CTG, moneyInfo={moneyType:addGold+prizeGold}, 
+                                      dataEx={"orderInfo":orderInfo, "ctgID":ctgID})
+    
     addVIPExp = coinExp
     PlayerVip.AddVIPExp(curPlayer, addVIPExp)
     

--
Gitblit v1.8.0