From a40effc79ef74009c33f82b59928c8e74e86156f Mon Sep 17 00:00:00 2001 From: wangzhenxing <1545929779@qq.com> Date: Fri, 8 Mar 2024 14:47:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E8=BF=9B=E5=9F=8E=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/QiJieShiLian/QiJieShiLianMonsterInfo.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/QiJieShiLian/QiJieShiLianMonsterInfo.lua b/Assets/ManagedResources/~Lua/Modules/QiJieShiLian/QiJieShiLianMonsterInfo.lua index 628d25e00a..d87bf8ddf0 100644 --- a/Assets/ManagedResources/~Lua/Modules/QiJieShiLian/QiJieShiLianMonsterInfo.lua +++ b/Assets/ManagedResources/~Lua/Modules/QiJieShiLian/QiJieShiLianMonsterInfo.lua @@ -99,9 +99,11 @@ function QiJieShiLianMonsterInfo:FormationAdapter() -- heroListGo[i].transform.parent:GetComponent("Image").sprite=self.spLoader:LoadSprite("t_chengyuankuang_kuang") self:SetCardSingleData(heroListGo[i],bossTeaminfo[i],i) heroListGo[i]:SetActive(true) + Util.GetGameObject(heroListGo[i], "Mask/icon"):SetActive(true) else heroListGo[i]:SetActive(true) Util.GetGameObject(heroListGo[i],"lv/Text"):GetComponent("Text").text="" + Util.GetGameObject(heroListGo[i], "Mask/icon"):SetActive(false) end end ResetItemView(self.root,self.root.transform,itemList,5,1,sortingOrder,false,rewardData) @@ -122,7 +124,7 @@ function QiJieShiLianMonsterInfo:SetCardSingleData(o,monsterId, _pos) hp:SetActive(false) local rage = Util.GetGameObject(o,"rageProgress") rage:SetActive(false) - + LogError("monsterId================="..monsterId) local monsterconfig = ConfigManager.GetConfigData(ConfigName.MonsterConfig, monsterId) local heroConfig = ConfigManager.GetConfigData(ConfigName.HeroConfig, monsterconfig.MonsterId) @@ -162,7 +164,7 @@ function QiJieShiLianMonsterInfo:SetCardSingleData(o,monsterId, _pos) end local effect = Util.GetGameObject(o,"UI_Effect_jinkuang_KaPai") - effect.gameObject:SetActive(monsterconfig.Star > 9) + effect.gameObject:SetActive(false) SetHeroFormationFlyEffect(o,self.spLoader,effect,monsterconfig.Star,sortingOrder) Util.SetParticleSortLayer(effect.gameObject, sortingOrder + 1) end