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 | 29 ++++++++++++++++++++++++++++-
1 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py
index 28cf71e..3a107ee 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py
@@ -28,8 +28,13 @@
import PlayerFBHelpBattle
import PlayerFairyDomain
import ChPyNetSendPack
+import GameWorldArena
import NetPackCommon
import PlayerDuJie
+import PlayerCharm
+import CrossBattlefield
+import CrossChampionship
+import CrossYaomoBoss
#---------------------------------------------------------------------
#---------------------------------------------------------------------
@@ -56,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()):
@@ -73,14 +84,22 @@
return
def DoLogic_GameServer_OnDayEx(tick):
+ #仙盟
+ PlayerFamily.FamilyOnDayEx(tick)
#渡劫OnDay
PlayerDuJie.OnDayEx()
#副本助战
PlayerFBHelpBattle.HelpBattleOnDay()
#玩家缓存
- PlayerViewCache.DelOutofTimeViewCacheData()
+ PlayerViewCache.DoOnDayEx()
#缥缈OnDay
PlayerFairyDomain.OnDayEx()
+ #竞技场
+ GameWorldArena.OnDayEx()
+ #跨服战场
+ CrossBattlefield.DoOnDayEx()
+ #跨服排位
+ CrossChampionship.DoOnDayEx()
playerManager = GameWorld.GetPlayerManager()
for i in xrange(playerManager.GetPlayerCount()):
curPlayer = playerManager.GetPlayerByIndex(i)
@@ -100,6 +119,8 @@
#设定服务器当前周事件
PlayerDBGSEvent.SetDBGSTrig_ServerTime(PlayerDBGSEvent.Def_ServerWeek)
+ #魅力
+ PlayerCharm.DoOnWeek()
#家族更新
PlayerFamily.FamilyOnWeek(tick)
@@ -115,6 +136,11 @@
return
def DoLogic_GameServer_OnWeekEx(tick):
+
+ # 竞技场
+ GameWorldArena.OnWeekEx()
+ # 跨服战场
+ CrossBattlefield.DoOnWeekEx()
playerManager = GameWorld.GetPlayerManager()
for i in xrange(playerManager.GetPlayerCount()):
@@ -301,6 +327,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