From 7fe5b708667ada80e22ce098635c30c89246d23b Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 05 十二月 2025 20:00:07 +0800
Subject: [PATCH] 121 【武将】武将系统-服务端(武将生效卡牌逻辑;去除图鉴加成;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py |   52 ++++++++++++----------------------------------------
 1 files changed, 12 insertions(+), 40 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 da8cf30..9a38213 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py
@@ -27,7 +27,6 @@
 import PlayerCoin
 import PlayerControl
 import PlayerFamily
-import PlayerFamilyZhenfa
 import PlayerLoginDayAward
 import NPCCommon
 import FunctionNPCCommon
@@ -40,7 +39,6 @@
 import PlayerGoldInvest
 import PlayerCrossRealmPK
 import PlayerCrossChampionship
-import OpenServerCampaign
 import PlayerCostRebate
 import CrossActCTGBillboard
 import CrossActAllRecharge
@@ -58,10 +56,8 @@
 import PlayerActTurntable
 import PlayerActBuyOne
 import PlayerSpringSale
-import PlayerBossReborn
 import PlayerWeekParty
 import PlayerFeastWeekParty
-import PlayerFeastTravel
 import PlayerFeastLogin
 import PlayerFeastWish
 import PlayerActTask
@@ -85,12 +81,15 @@
 import IpyGameDataPY
 import PlayerArena
 import PyGameData
+import OpenServerActivity
 import PlayerXiangong
 import PlayerBillboard
 import PlayerViewCache
+import GameFuncComm
 import PlayerMail
 import PlayerHero
 import PlayerTree
+import PlayerLLMJ
 
 import datetime
 import time
@@ -107,6 +106,7 @@
     #副本OnDay事件响应
     #FBLogic.OnDay(tick)
     
+    OpenServerActivity.OnDay()
     #仙盟
     PlayerFamily.FamilyOnDay()
     PlayerArena.OnDay()
@@ -233,6 +233,10 @@
     playerID = curPlayer.GetPlayerID()
     GameWorld.Log("PlayerOnDay! ondayValue=%s" % (ondayValue), playerID)
     
+    # 过天同步下时间、开服天
+    ChPlayer.Sync_PyServerDataTimeToClient(curPlayer)
+    ChPlayer.Sync_OpenServerDay(curPlayer)
+    
     __DoPlayerOnDay(curPlayer, ShareDefine.Def_OnEventType)
     __DoPlayerOnDay(curPlayer, ShareDefine.Def_OnEventTypeEx)
     
@@ -246,10 +250,7 @@
     
     # 常规过天
     if onEventType == ShareDefine.Def_OnEventType:
-        
-        #开服活动
-        OpenServerCampaign.OnOpenServerCampaignDay(curPlayer)
-        
+        GameFuncComm.DoFuncOpenLogic(curPlayer)
         #清空每日事件奖励
         curPlayer.SetDayProcessGameEventCount(0)
         
@@ -278,6 +279,8 @@
         PlayerControl.PayCoinOnDay(curPlayer)
         ChPlayer.PlayerOnDay(curPlayer)
         PlayerActivity.OnDay(curPlayer)
+        PlayerLLMJ.PlayerOnDay(curPlayer)
+        FunctionNPCCommon.ShopItemOnDay(curPlayer)
         
     # 特殊时间点X点过天
     elif onEventType == ShareDefine.Def_OnEventTypeEx:
@@ -301,9 +304,6 @@
         
     # 以下为支持两种重置模式切换配置的
     FBCommon.FBOnDay(curPlayer, onEventType)
-        
-    # 商店物品购买兑换OnDay
-    FunctionNPCCommon.ShopItemOnDay(curPlayer, onEventType)
     #许愿池
     PlayerWishingWell.OnDay(curPlayer)
     #通天令
@@ -395,6 +395,7 @@
         
         # 每周提示玩家提示vip等级加入贵宾俱乐部
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_HasVIPClubNote, 0)
+        FunctionNPCCommon.ShopItemOnWeek(curPlayer)
         
     elif onEventType == ShareDefine.Def_OnEventTypeEx:
         #竞技场
@@ -403,9 +404,6 @@
         
     # 以下为支持两种重置模式切换配置的
     FBCommon.FBOnWeek(curPlayer, onEventType)
-    
-    # 商店物品购买兑换OnDay
-    FunctionNPCCommon.ShopItemOnWeek(curPlayer, onEventType)
     return
 
 #---------------------------------------------------------------------
@@ -446,8 +444,6 @@
         pass
         #OnMonthEx
         
-    # 商店物品购买兑换OnMonth
-    FunctionNPCCommon.ShopItemOnMonth(curPlayer, onEventType)
     return
 
 #---------------------------------------------------------------------
@@ -857,14 +853,6 @@
             PyGameData.FBOpenTimeRecord = eval(msgValue)
             return
         
-        if key == ShareDefine.Def_Notify_WorldKey_VSFamilyInfo:
-            PyGameData.VSFamilyInfo = eval(msgValue)
-            return
-        
-        if key == ShareDefine.Def_Notify_WorldKey_FamilyZhenfaInfo:
-            PlayerFamilyZhenfa.GameServer_FamilyZhenfa(eval(msgValue))
-            return
-        
         if key == ShareDefine.Def_Notify_WorldKey_CoupleInfo:
             syncCoupleInfo = eval(msgValue)
             for playerID, coupleInfo in syncCoupleInfo.items():
@@ -909,9 +897,6 @@
                 
             elif actionName == ShareDefine.OperationActionName_SpringSale:
                 PlayerSpringSale.RefreshSpringSaleActionInfo(actNum)
-
-            elif actionName == ShareDefine.OperationActionName_BossReborn:
-                PlayerBossReborn.RefreshOperationAction_BossReborn()
                 
             elif actionName == ShareDefine.OperationActionName_FlashGiftbag:
                 PlayerFlashGiftbag.RefreshFlashGiftbagActionInfo(actNum)
@@ -961,9 +946,6 @@
             elif actionName == ShareDefine.OperationActionName_FeastWish:
                 PlayerFeastWish.RefreshFeastWishActionInfo()
                 
-            elif actionName == ShareDefine.OperationActionName_FeastTravel:
-                PlayerFeastTravel.RefreshFeastTravelActionInfo()
-                
             elif actionName == ShareDefine.OperationActionName_FeastWeekParty:
                 PlayerFeastWeekParty.RefreshOperationAction_FeastWeekParty()
                 
@@ -1009,16 +991,6 @@
         
         if key == ShareDefine.Def_Notify_WorldKey_CrossZoneName:
             PyGameData.g_crossZoneName = msgValue
-            return
-        
-        if key == ShareDefine.Def_Notify_WorldKey_CrossServerTime:
-            PyGameData.g_crossServerTimeInfo = eval(msgValue)
-            playerManager = GameWorld.GetPlayerManager()
-            for index in xrange(playerManager.GetPlayerCount()):
-                curPlayer = playerManager.GetPlayerByIndex(index)
-                if not GameWorld.IsNormalPlayer(curPlayer):
-                    continue
-                ChPlayer.Sync_PyServerDataTimeToClient(curPlayer)
             return
         
         # 幸运云购

--
Gitblit v1.8.0