From 0829a4c2b93d65e8ca2251c9477095ef65e93ef8 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 30 十二月 2025 22:12:54 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(诸葛亮觉醒技能,剩最后一个概率未处理;优化效果5013;增加技能目标范围类型 11-继承主技能目标同横排,12-继承主技能目标同纵排;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py
index 3a7ede6..13de66e 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py
@@ -133,7 +133,9 @@
             reload(reloadPath)
         except Exception:
             continue
-
+        
+    import DataRecordPack
+    DataRecordPack.DR_Reload("script")
     Log("Reload Begin : time = %s"%GetCurrentDataTimeStr())
     return
 
@@ -1343,6 +1345,14 @@
 def GetServerVersion():
     return GetGameWorld().GetServerVersion()
 
+def IsBattleServer():
+    ## 是否战斗服务器
+    return ToIntDef(ReadChConfig.GetPyMongoConfig("platform", "BattleServer"), 0) == 1
+
+def GetServerGroupName():
+    ## 服务器组名,取 ServersRoute 中的配置
+    return ReadChConfig.GetServersRouteConfig("platform", "GroupName")
+
 def GetServerGroupID():
     ## 服务器组ID,必须唯一,代表这台物理服务器
     return ToIntDef(ReadChConfig.GetPyMongoConfig("platform", "GroupID"), 0)

--
Gitblit v1.8.0