From 9e91c51e4ece0002b58e22e27ec57fd8d23176a9 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 29 八月 2025 15:24:42 +0800
Subject: [PATCH] 125 【战斗】战斗系统 协议更新

---
 Main/System/HeroUI/HeroScenePosCell.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Main/System/HeroUI/HeroScenePosCell.cs b/Main/System/HeroUI/HeroScenePosCell.cs
index 0758b5b..1742de9 100644
--- a/Main/System/HeroUI/HeroScenePosCell.cs
+++ b/Main/System/HeroUI/HeroScenePosCell.cs
@@ -21,7 +21,7 @@
     [SerializeField] Transform objForfly;  //鐐瑰嚮椋炲叆鐨勬椂鍊欑殑鏄鹃殣鎺у埗
 
 
-    public void Display(string guid, int index, bool isFly = false)
+    public void Display(string guid, int index, bool isFly = false, bool showSuggest = false)
     {
         var hero = HeroManager.Instance.GetHero(guid);
         this.transform.localScale = Vector3.one;
@@ -35,8 +35,9 @@
         posCircleImg.SetSprite("heroposcircle" + heroConfig.Quality);
 
         //涓嶆槸鎺ㄨ崘浣嶅垯鎻愮ず
-        if (heroConfig.Position == 1 && TeamConst.TeamPos2Array.Contains(index) ||
-            heroConfig.Position == 2 && TeamConst.TeamPos1Array.Contains(index))
+        //  if (heroConfig.Position == 1 && TeamConst.TeamPos2Array.Contains(index) ||
+        //     heroConfig.Position == 2 && TeamConst.TeamPos1Array.Contains(index))
+        if (showSuggest)
         {
             suggestForm.SetActive(true);
             jobTip.text = HeroUIManager.Instance.GetJobName(heroConfig.Class);

--
Gitblit v1.8.0