From 42e777349b6f1a57284419fec3e5eb7d62a6dc5c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期日, 04 一月 2026 17:19:36 +0800
Subject: [PATCH] 283 【配套功能】查看他人-服务端(武将物品增加Data记录;)
---
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