From 45d3d873a7740886fa09f35c9fea2830f4563072 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 11 二月 2026 11:04:37 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into h5version

---
 Main/System/Battle/StoryBossBattleWin.cs |   28 +---------------------------
 1 files changed, 1 insertions(+), 27 deletions(-)

diff --git a/Main/System/Battle/StoryBossBattleWin.cs b/Main/System/Battle/StoryBossBattleWin.cs
index 7092850..b24b89f 100644
--- a/Main/System/Battle/StoryBossBattleWin.cs
+++ b/Main/System/Battle/StoryBossBattleWin.cs
@@ -231,33 +231,7 @@
 
     public void RefreshBuff(List<HB428_tagSCBuffRefresh> datas)
     {
-        if (buffCells == null)
-        {
-            for (int i = 0; i < buffCells.Count; i++)
-            {
-                buffCells[i].SetActive(false);
-            }
-        }
-        else
-        {
-            for (int i = 0; i < buffCells.Count; i++)
-            {
-                if (i < datas.Count)
-                {
-                    buffCells[i].SetActive(true);
-                    HB428_tagSCBuffRefresh buffData = datas[i];
-                    SkillConfig skillConfig = SkillConfig.Get((int)buffData.SkillID);
-                    buffCells[i].Init(buffData, () =>
-                    {
-                        //  鐐瑰嚮buff鍥炬爣 鏄剧ずbuff鎻忚堪/褰撳墠韬笂鎵�鏈塨uff
-                    });
-                }
-                else
-                {
-                    buffCells[i].SetActive(false);
-                }
-            }
-        }
+        RefreshBuffCells(buffCells, datas);
     }
     List<TeamHero> GetTeamHeroList(List<BattleObject> teams)
     {

--
Gitblit v1.8.0