From 4180ba5f28c47d15a33d99973e2034f5337ab3fc Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 20 十二月 2022 17:04:17 +0800
Subject: [PATCH] 9731 【越南】【主干】【BT7】【BT8】转职业(转职附加重置灵根属性点)
---
ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py
index 789654d..ae845c1 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldActionControl.py
@@ -1072,7 +1072,6 @@
if GameWorld.IsCrossServer():
CrossActionControl.Dispose_CrossDailyActionState()
- return
todayDailyActionInfo = __GetTodayDailyActionInfo()
if not todayDailyActionInfo:
@@ -1139,16 +1138,15 @@
def SendMapServerDailyActionState():
# 地图启动成功时通知本日进行中的日常活动状态
+ gameWorld = GameWorld.GetGameWorld()
if GameWorld.IsCrossServer():
CrossActionControl.SendMapServerCrossDailyActionState()
- return
-
- gameWorld = GameWorld.GetGameWorld()
- for dailyActionID in ShareDefine.CrossDailyActionIDList:
- dictName = ShareDefine.Def_Notify_WorldKey_CrossDailyActionState % dailyActionID
- state = gameWorld.GetDictByKey(dictName)
- if state:
- GameWorld.SendMapServerMsgEx(dictName, state)
+ else:
+ for dailyActionID in ShareDefine.CrossDailyActionIDList:
+ dictName = ShareDefine.Def_Notify_WorldKey_CrossDailyActionState % dailyActionID
+ state = gameWorld.GetDictByKey(dictName)
+ if state:
+ GameWorld.SendMapServerMsgEx(dictName, state)
todayDailyActionInfo = __GetTodayDailyActionInfo()
if not todayDailyActionInfo:
--
Gitblit v1.8.0