From dcfb2c6f6f06b62e4285b5c1cd7b6fe01e21c5b7 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 06 十二月 2021 11:29:30 +0800
Subject: [PATCH] 9341 【BT5】【主干】【后端】情缘系统(增加购买烟花全服广播)

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerLove.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerLove.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerLove.py
index 5cd5ace..111ff1f 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerLove.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerLove.py
@@ -1016,6 +1016,7 @@
     candyObj.fireworksCountDict[playerID] = candyObj.fireworksCountDict.get(playerID, 0) + 1
     Sync_CandyList(None, [candyObj])
     
+    PlayerControl.WorldNotify(0, "BuyFireworks", [curPlayer.GetName(), candyObj.playerNameA, candyObj.playerNameB])
     GameWorld.Log("更新婚礼烟花: updProsperity=%s,fireworksCountDict=%s" % (candyObj.prosperity, candyObj.fireworksCountDict), playerID)
     return costMoneyType, costMoneyValue
 

--
Gitblit v1.8.0