From 440e8a4e3febfc1d98f11da2fbd7eaf75c12e877 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 22 十月 2025 15:04:17 +0800
Subject: [PATCH] 125 战斗 细节调整

---
 Main/System/HeroUI/HeroPosHeadCell.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Main/System/HeroUI/HeroPosHeadCell.cs b/Main/System/HeroUI/HeroPosHeadCell.cs
index 2eb1b0a..ba6249a 100644
--- a/Main/System/HeroUI/HeroPosHeadCell.cs
+++ b/Main/System/HeroUI/HeroPosHeadCell.cs
@@ -22,7 +22,7 @@
         });
         nameText.text = hero.breakLevel == 0 ? hero.heroConfig.Name : Language.Get("herocardbreaklv", hero.heroConfig.Name, hero.breakLevel);
         
-        jobImg.SetSprite("herojob" + hero.heroConfig.Class);
+        jobImg.SetSprite(HeroUIManager.Instance.GetJobIconName(hero.heroConfig.Class));
     }
 
     void Click(HeroInfo hero, int index)
@@ -41,7 +41,7 @@
             return;
         }
 
-        team.AddHero(hero, out pos);
+        team.AddHero(hero, out pos, true);
         if (pos != -1)
         {
             selectRect.SetActive(true);

--
Gitblit v1.8.0