From 9d607b66c7f259ad09f63500eb2c8f291e78ac13 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期日, 04 一月 2026 18:36:53 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(丁奉格挡潜能2反弹计算增加效果6037)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py
index a1b55ec..3a0d9a0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py
@@ -612,6 +612,7 @@
itemIndex = hero.itemIndex
heroLV = 1
star = 0
+ userData = "{}"
if itemIndex >= 0 and itemIndex < curPack.GetCount():
heroItem = curPack.GetAt(itemIndex)
if heroItem and not heroItem.IsEmpty():
@@ -619,6 +620,7 @@
star = heroItem.GetUserAttr(ShareDefine.Def_IudetHeroStar)
#breakLV = heroItem.GetUserAttr(ShareDefine.Def_IudetHeroBreakLV)
#awakeLV = heroItem.GetUserAttr(ShareDefine.Def_IudetHeroAwakeLV)
+ userData = heroItem.GetUserData()
skillIDlist = []
skillIDlist += hero.heroSkillIDList
@@ -627,6 +629,7 @@
"SkinID":hero.skinID,
"LV":heroLV,
"Star":star,
+ "Data":userData,
#"BreakLV":breakLV,
#"AwakeLV":awakeLV,
"FightPower":hero.fightPower,
--
Gitblit v1.8.0