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