From 153d693fe8a90077e26f1c3e60b0df6f9e20b1ec Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 07 一月 2025 17:53:16 +0800
Subject: [PATCH] 10289 【越南】【英语】【砍树】【BT】运势-服务端(A801增加领取累计寻宝次数奖励事件名通知 TreasureCntAward)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py
index 18f4fbc..0bdd5ad 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTreasure.py
@@ -506,7 +506,7 @@
     return itemID
 
 def GetTreasureCntAward(curPlayer, treasureType, needTreasureCnt):
-    ## 领取天道树奖励
+    ## 领取寻宝累计次数奖励
     needTreasureCnt = GameWorld.ToIntDef(needTreasureCnt, 0)
     playerID = curPlayer.GetPlayerID()
     ipyData = IpyGameDataPY.GetIpyGameData("TreasureCntAward", treasureType, needTreasureCnt)
@@ -532,7 +532,7 @@
     GameWorld.DebugLog("领取寻宝次数奖励! treasureType=%s,needTreasureCnt=%s,awardIndex=%s,awardState=%s,updState=%s" 
                        % (treasureType, needTreasureCnt, awardIndex, awardState, updState), playerID)
     
-    ItemControler.GivePlayerItemOrMail(curPlayer, awardItemList)
+    ItemControler.GivePlayerItemOrMail(curPlayer, awardItemList, event=["TreasureCntAward", False, {}])
     Sync_TreasureInfo(curPlayer, [treasureType])
     return
 

--
Gitblit v1.8.0