From 74289e90aeda4ddcdb317b6ce33f58222c57cad6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 04 十二月 2023 16:56:55 +0800
Subject: [PATCH] 10021 【主干】【港台】新手流程修改(增加灵根及修仙之路相关任务接口)
---
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py
index 8390752..3a107ee 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py
@@ -31,6 +31,10 @@
import GameWorldArena
import NetPackCommon
import PlayerDuJie
+import PlayerCharm
+import CrossBattlefield
+import CrossChampionship
+import CrossYaomoBoss
#---------------------------------------------------------------------
#---------------------------------------------------------------------
@@ -57,8 +61,14 @@
if isMixServer:
PlayerDBGSEvent.SetDBGSTrig_ServerTime(PlayerDBGSEvent.Def_MixServerDay)
+ #魅力
+ PlayerCharm.DoOnDay()
#家族更新
PlayerFamily.FamilyOnDay(tick)
+ #跨服排位
+ CrossChampionship.DoOnDay()
+ #跨服妖魔boss
+ CrossYaomoBoss.DoOnDay()
playerManager = GameWorld.GetPlayerManager()
for i in xrange(playerManager.GetPlayerCount()):
@@ -74,6 +84,8 @@
return
def DoLogic_GameServer_OnDayEx(tick):
+ #仙盟
+ PlayerFamily.FamilyOnDayEx(tick)
#渡劫OnDay
PlayerDuJie.OnDayEx()
#副本助战
@@ -84,6 +96,10 @@
PlayerFairyDomain.OnDayEx()
#竞技场
GameWorldArena.OnDayEx()
+ #跨服战场
+ CrossBattlefield.DoOnDayEx()
+ #跨服排位
+ CrossChampionship.DoOnDayEx()
playerManager = GameWorld.GetPlayerManager()
for i in xrange(playerManager.GetPlayerCount()):
curPlayer = playerManager.GetPlayerByIndex(i)
@@ -103,6 +119,8 @@
#设定服务器当前周事件
PlayerDBGSEvent.SetDBGSTrig_ServerTime(PlayerDBGSEvent.Def_ServerWeek)
+ #魅力
+ PlayerCharm.DoOnWeek()
#家族更新
PlayerFamily.FamilyOnWeek(tick)
@@ -121,6 +139,8 @@
# 竞技场
GameWorldArena.OnWeekEx()
+ # 跨服战场
+ CrossBattlefield.DoOnWeekEx()
playerManager = GameWorld.GetPlayerManager()
for i in xrange(playerManager.GetPlayerCount()):
--
Gitblit v1.8.0