From b5c4db7359ef92000a5969651e68e71e044625e4 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 27 二月 2026 17:23:00 +0800
Subject: [PATCH] 501 【武将】武将时装 - 同步封包
---
Main/System/HeroUI/HeroCollectionCardCell.cs | 18 ++----------------
1 files changed, 2 insertions(+), 16 deletions(-)
diff --git a/Main/System/HeroUI/HeroCollectionCardCell.cs b/Main/System/HeroUI/HeroCollectionCardCell.cs
index 28de4b4..5392f42 100644
--- a/Main/System/HeroUI/HeroCollectionCardCell.cs
+++ b/Main/System/HeroUI/HeroCollectionCardCell.cs
@@ -50,25 +50,11 @@
{
trainStateImg.SetActive(false);
}
- nameText.text = colData.BookBreakLV == 0 ? heroConfig.Name : Language.Get("herocardbreaklv", heroConfig.Name, colData.BookBreakLV);
+ nameText.text = heroConfig.Name;
for (int i = 0; i < starImgList.Count; i++)
{
- if (colData.BookStarLV == 0 && i == 0)
- {
- // 鏃犳槦绾� 鐗规畩澶勭悊
- starImgList[i].SetActive(true);
- starImgList[i].SetSprite("herostar" + colData.BookStarLV);
- }
- else if ((colData.BookStarLV - 1) % starImgList.Count >= i)
- {
- starImgList[i].SetActive(true);
- starImgList[i].SetSprite("herostar" + (((colData.BookStarLV - 1) / starImgList.Count) + 1) * starImgList.Count);
- }
- else
- {
- starImgList[i].SetActive(false);
- }
+ starImgList[i].SetActive(false);
}
heroCardBtn.AddListener(() =>
--
Gitblit v1.8.0