From f2cf64ffabcd15d5497aee8914b8d37d8b9a88b0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 07 二月 2026 15:39:43 +0800
Subject: [PATCH] 66 【公会】基础主体-服务端(公会GM命令支持跨服 CreateFamily、Family、Zhenbaoge;跨服公会聊天支持,包含公会聊天缓存;查看玩家A705回包增加公会所在服务器ID信息;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5501.py | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5501.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5501.py
index 478798a..516eda3 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5501.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5501.py
@@ -22,6 +22,7 @@
skillID = curEffect.GetEffectValue(0) # 技能ID,为0时释放本技能
setLayerCnt = curEffect.GetEffectValue(1) # 指定buff层级
byTagStateList = curEffect.GetEffectValue(2) # 或根据目标xx状态 [状态1, 状态2, ...]总层级
+ bySameCountryLayerEx = curEffect.GetEffectValue(3) # 触发来源是同国时额外增加层级
if byTagStateList:
layerTotal = 0
tagBuffMgr = tagObj.GetBuffManager()
@@ -33,6 +34,12 @@
layerTotal += buff.GetLayer()
setLayerCnt = layerTotal
+ if bySameCountryLayerEx:
+ if "byFriendObj" in kwargs:
+ byFriendObj = kwargs.pop("byFriendObj") # 直接取出,防止传递
+ if batObj.GetCountry() == byFriendObj.GetCountry():
+ setLayerCnt += bySameCountryLayerEx
+
if setLayerCnt <= 0:
return
--
Gitblit v1.8.0