From f0c39c87862f1ac75d320a4c262f50cc36456e35 Mon Sep 17 00:00:00 2001 From: Kagamia Date: Wed, 30 Mar 2016 19:14:46 +0800 Subject: [PATCH] CharaSim: fix skill desc with level property --- WzComparerR2/CharaSimControl/SkillTooltipRender2.cs | 4 +++- WzComparerR2/Properties/AssemblyInfo.cs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/WzComparerR2/CharaSimControl/SkillTooltipRender2.cs b/WzComparerR2/CharaSimControl/SkillTooltipRender2.cs index 1886cde4..04b945b5 100644 --- a/WzComparerR2/CharaSimControl/SkillTooltipRender2.cs +++ b/WzComparerR2/CharaSimControl/SkillTooltipRender2.cs @@ -111,7 +111,9 @@ private Bitmap RenderSkill(out int picH) if (sr.Desc != null) { - GearGraphics.DrawString(g, sr.Desc, GearGraphics.ItemDetailFont2, 92, 272, ref picH, 16); + string hdesc = SummaryParser.GetSkillSummary(sr.Desc, skill.Level, skill.Common, SummaryParams.Default); + //string hStr = SummaryParser.GetSkillSummary(skill, skill.Level, sr, SummaryParams.Default); + GearGraphics.DrawString(g, hdesc, GearGraphics.ItemDetailFont2, 92, 272, ref picH, 16); } if (skill.ReqLevel > 0) { diff --git a/WzComparerR2/Properties/AssemblyInfo.cs b/WzComparerR2/Properties/AssemblyInfo.cs index a4dd68c3..94682c28 100644 --- a/WzComparerR2/Properties/AssemblyInfo.cs +++ b/WzComparerR2/Properties/AssemblyInfo.cs @@ -33,4 +33,4 @@ // 方法是按如下所示使用“*”: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.1.2.0")] -[assembly: AssemblyFileVersion("1.1.2.51203")] +[assembly: AssemblyFileVersion("1.1.2.60330")]