From b1daad2394ff6f0322696df50fcc53236f4ea9b1 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 16 七月 2024 17:11:39 +0800 Subject: [PATCH] 10215 10213 【越南】【主干】【港台】【砍树】古宝升星效果与古宝共鸣(增加古宝星级属性;增加古宝共鸣;增加boss最终伤害属性;) --- ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py index 5d0a9db..00a3c7c 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerEventCounter.py @@ -31,6 +31,11 @@ import GameWorldArena import NetPackCommon import PlayerDuJie +import PlayerCharm +import CrossBattlefield +import CrossChampionship +import CrossYaomoBoss +import GameWorldMineArea #--------------------------------------------------------------------- #--------------------------------------------------------------------- @@ -57,8 +62,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 +85,8 @@ return def DoLogic_GameServer_OnDayEx(tick): + #仙盟 + PlayerFamily.FamilyOnDayEx(tick) #渡劫OnDay PlayerDuJie.OnDayEx() #副本助战 @@ -84,6 +97,12 @@ PlayerFairyDomain.OnDayEx() #竞技场 GameWorldArena.OnDayEx() + #跨服战场 + CrossBattlefield.DoOnDayEx() + #跨服排位 + CrossChampionship.DoOnDayEx() + #福地 + GameWorldMineArea.DoOnDayEx() playerManager = GameWorld.GetPlayerManager() for i in xrange(playerManager.GetPlayerCount()): curPlayer = playerManager.GetPlayerByIndex(i) @@ -103,6 +122,8 @@ #设定服务器当前周事件 PlayerDBGSEvent.SetDBGSTrig_ServerTime(PlayerDBGSEvent.Def_ServerWeek) + #魅力 + PlayerCharm.DoOnWeek() #家族更新 PlayerFamily.FamilyOnWeek(tick) @@ -121,6 +142,8 @@ # 竞技场 GameWorldArena.OnWeekEx() + # 跨服战场 + CrossBattlefield.DoOnWeekEx() playerManager = GameWorld.GetPlayerManager() for i in xrange(playerManager.GetPlayerCount()): @@ -307,6 +330,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