From 39001a600fcae2bcf27c225df8752d75fb92fef4 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 31 十月 2025 11:18:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/System/HeroUI/HeroAwakePrivewWin.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Main/System/HeroUI/HeroAwakePrivewWin.cs b/Main/System/HeroUI/HeroAwakePrivewWin.cs
index 6cf1465..180c7fc 100644
--- a/Main/System/HeroUI/HeroAwakePrivewWin.cs
+++ b/Main/System/HeroUI/HeroAwakePrivewWin.cs
@@ -60,13 +60,14 @@
}
else if (type == 2)
{
- awakeStr = SkillConfig.Get(config.SkillID).Description;
+ var skill = SkillConfig.Get(config.SkillID);
+ awakeStr = Language.Get("L1039", skill.SkillName) + skill.Description;
}
else
{
for (int k = 0; k < config.AttrIDList.Length; k++)
{
- awakeStr += PlayerPropertyConfig.GetFullDescription(config.AttrIDList[k], config.AttrValueList[k], "{0}+" + UIHelper.AppendColor(TextColType.Green, "{1}")) +
+ awakeStr += (string.IsNullOrEmpty(config.SkillIName) ? string.Empty : Language.Get("L1039", config.SkillIName)) +PlayerPropertyConfig.GetFullDescription(config.AttrIDList[k], config.AttrValueList[k], "{0}+" + UIHelper.AppendColor(TextColType.Green, "{1}")) +
(k == config.AttrIDList.Length - 1 ? "" : "\n");
}
}
--
Gitblit v1.8.0