From 2a54477d35896bd3f1bd6f48e222a438034a11b9 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 27 十二月 2021 12:28:44 +0800
Subject: [PATCH] 5323 【主干】【后端】法器自动培养问题(自动购买支持按指定的商城表商品标识ID购买)

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

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py
index 5d0a9db..24c18df 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py
@@ -31,6 +31,7 @@
 import GameWorldArena
 import NetPackCommon
 import PlayerDuJie
+import PlayerCharm
 #---------------------------------------------------------------------
 
 #---------------------------------------------------------------------
@@ -57,6 +58,8 @@
     if isMixServer:
         PlayerDBGSEvent.SetDBGSTrig_ServerTime(PlayerDBGSEvent.Def_MixServerDay)
     
+    #魅力
+    PlayerCharm.DoOnDay()
     #家族更新
     PlayerFamily.FamilyOnDay(tick)
     
@@ -103,6 +106,8 @@
     #设定服务器当前周事件
     PlayerDBGSEvent.SetDBGSTrig_ServerTime(PlayerDBGSEvent.Def_ServerWeek)
     
+    #魅力
+    PlayerCharm.DoOnWeek()
     #家族更新
     PlayerFamily.FamilyOnWeek(tick)
     
@@ -307,6 +312,7 @@
     packData.NowMinute = serverTime.minute
     packData.NowSecond = serverTime.second
     packData.NowMicSecond = serverTime.microsecond
+    packData.WeekOfYear = GameWorld.GetWeekOfYear()
     NetPackCommon.SendFakePack(curPlayer, packData)
     return
 

--
Gitblit v1.8.0