From 8c99cfdef4ee827c08641defb6e0ac1f3c2899e0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 07 十月 2023 00:45:11 +0800
Subject: [PATCH] 9905 【BT0.1】【主干】新增每周、每月限购

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py
index baab6fa..dffb4e2 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py
@@ -711,6 +711,8 @@
         #需要在一周到来的时候重置玩家数据的操作都可以放到函数里面
         ResetPlayerWeekData(curPlayer)
         
+        PlayerCoin.OnWeek(curPlayer)
+        
         #计算这一周的在线时间
         CalcWeekOnlineTime(curPlayer)
         
@@ -787,7 +789,7 @@
         return
     
     if onEventType == ShareDefine.Def_OnEventType:
-        pass
+        PlayerCoin.OnMonth(curPlayer)
         #签到
         #PlayerSignDay.SignDayOnMonth(curPlayer)
         

--
Gitblit v1.8.0