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/GameWorldLogic/GameWorldEvent.py |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldEvent.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldEvent.py
index 78b2a7c..b907893 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldEvent.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldEvent.py
@@ -17,6 +17,7 @@
 
 import DBDataMgr
 import GameWorld
+import PyMongoMain
 import PlayerFamily
 import IpyGameDataPY
 import IPY_GameWorld
@@ -69,7 +70,7 @@
 #调用该函数时,C++已经设置好区服,如果改变区服需重启
 def StartDB(tick):
     #初始化数据库, 恢复备档(按区服记录), 加载静态表
-    from PyMongoDB import PyMongoMain
+    #from PyMongoDB import PyMongoMain
     PyMongoMain.StartDB()
     InitGameWorld(tick)
     return
@@ -256,6 +257,8 @@
         CheckCloseMapOK()
         return
     
+    PyMongoMain.GetUserCtrlDB().onSecondProcess()
+    
     OnMinute(tick)
     
     # 其他逻辑
@@ -299,7 +302,7 @@
     PlayerFamily.OnMinute()
     PlayerOnline.OnMinute()
     BattleObj.OnMinute()
-    ObjPool.OnMinute()
+    ObjPool.OnMinute(curTime)
     
     __CheckIpyDataRecycle(curTime)
     return

--
Gitblit v1.8.0