From 31aa783270d35488457e388a29dd397bd1832c6f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 11 九月 2025 10:48:42 +0800
Subject: [PATCH] 121 【武将】武将系统-服务端(激活图鉴奖励通知弹框;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py |    5 ++++-
 1 files changed, 4 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 9ad261d..bf664fa 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -2981,7 +2981,7 @@
 # @return 返回值真, 给钱成功
 # @param isSysHint 是否系统提示(默认是)
 # @remarks 玩家获得金钱
-def GiveMoney(curPlayer, priceType, value, giveType=ChConfig.Def_GiveMoney_Unknown, addDataDict={}, isSysHint=True, isGiveBourseMoney=True):
+def GiveMoney(curPlayer, priceType, value, giveType=ChConfig.Def_GiveMoney_Unknown, addDataDict={}, isSysHint=True, isGiveBourseMoney=True, notifyAward=False):
     if value == 0:
         return True
     
@@ -3060,6 +3060,9 @@
     #        NotifyCode(curPlayer, "GetMoney", [priceType, str(round(value/100.0, 2))])
     #    else:
     #        NotifyCode(curPlayer, "GetMoney", [priceType, value])
+    if notifyAward:
+        ItemControler.NotifyGiveAwardInfo(curPlayer, [], giveType, moneyInfo={priceType:value})
+        
     __GiveMoneyAfter(curPlayer, priceType, value, giveType, addDataDict)
     
     if befMoney == 0:

--
Gitblit v1.8.0