From 08f123d5993edb596bdda174e516ee37d2c457b9 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 13 一月 2026 11:35:07 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(单个突破潜能支持配置多个拆分技能效果; 注:所有效果写在主技能ID,前端仅支持单个技能效果显示;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerOnline.py | 4 ++++
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 4 +++-
PySysDB/PySysDBPY.h | 1 +
3 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/PySysDB/PySysDBPY.h b/PySysDB/PySysDBPY.h
index 810c29f..cf7b2a7 100644
--- a/PySysDB/PySysDBPY.h
+++ b/PySysDB/PySysDBPY.h
@@ -166,6 +166,7 @@
list AttrIDList; // 属性ID列表
list AttrValueList; // 属性值列表
DWORD SkillID; // 激活技能ID
+ list SkillIDExList; // 激活的额外技能ID列表
};
//武将觉醒天赋表
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
index b901fcf..4ed6ad9 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
@@ -182,6 +182,7 @@
("list", "AttrIDList", 0),
("list", "AttrValueList", 0),
("DWORD", "SkillID", 0),
+ ("list", "SkillIDExList", 0),
),
"HeroAwake":(
@@ -2490,7 +2491,8 @@
def GetBreakLV(self): return self.attrTuple[1] # 突破等级 BYTE
def GetAttrIDList(self): return self.attrTuple[2] # 属性ID列表 list
def GetAttrValueList(self): return self.attrTuple[3] # 属性值列表 list
- def GetSkillID(self): return self.attrTuple[4] # 激活技能ID DWORD
+ def GetSkillID(self): return self.attrTuple[4] # 激活技能ID DWORD
+ def GetSkillIDExList(self): return self.attrTuple[5] # 激活的额外技能ID列表 list
# 武将觉醒天赋表
class IPY_HeroAwake():
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerOnline.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerOnline.py
index c4f5dfd..943b10f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerOnline.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerOnline.py
@@ -745,8 +745,12 @@
attrValue = attrValueList[aIndex]
breakAttrDict[attrID] = breakAttrDict.get(attrID, 0) + attrValue
skillID = breakIpyData.GetSkillID()
+ skillIDExList = breakIpyData.GetSkillIDExList()
if skillID:
lineupHero.heroSkillIDList.append(skillID)
+ if skillIDExList:
+ lineupHero.heroSkillIDList += skillIDExList
+
heroBreakAttrInfo[heroID] = breakAttrDict
# 觉醒天赋
--
Gitblit v1.8.0