lcy
2025-12-30 b27acaf9671f6a4b79f2977949e3530046a2b157
382 武将宿缘-客户端 适配不同品质武将混搭表格配置
2个文件已修改
14 ■■■■■ 已修改文件
Main/System/HeroFates/HeroFatesCell.cs 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/HeroFates/HeroFatesUpgradeWin.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/HeroFates/HeroFatesCell.cs
@@ -61,9 +61,7 @@
        imgUpgradeRed.SetActive(state == HeroFatesState.ActiveUpgradable);
        imgBG.SetSprite(manager.GetCellBgByFatesQuality(config.BGQuality));
        txtFateName.text = config.FatesName;
        txtFateName.color = UIHelper.GetUIColorByFunc(config.BGQuality);
        outlineFateName.OutlineColor = UIHelper.GetUIOutlineColor(config.BGQuality);
        int needHeroHasCnt = manager.GetFateNeedHeroHasCnt(fatesId);
        int needHeroCnt = config.HeroIDList.Length;
@@ -75,8 +73,12 @@
            int fatesNowStarCnt = manager.GetFatesNowStarCnt(fatesId);
            int nextNeedStarCnt = nextLVConfig.NeedStarTotal;
            txtHasHeroTotalStar.text = StringUtility.Concat(Language.Get("HeroFates05"), UIHelper.AppendColor(nextNeedStarCnt <= fatesNowStarCnt ? TextColType.LightGreen : TextColType.Red, Language.Get("HeroFates11", fatesNowStarCnt, nextNeedStarCnt)));
            txtFateName.color = UIHelper.GetUIColorByFunc(nextLVConfig.NeedQuality);
            outlineFateName.OutlineColor = UIHelper.GetUIOutlineColor(nextLVConfig.NeedQuality);
        }
        txtFateName.text = config.FatesName;
        DisplayLH(config);
        transAttr.SetActive(!isNoActive);
Main/System/HeroFates/HeroFatesUpgradeWin.cs
@@ -240,9 +240,9 @@
        imgQualityHeroNull.SetActive(!isChoose);
        imgQualityHeroBg.SetItemBackGround(config.BGQuality);
        imgQualityHeroIcon.SetSprite(StringUtility.Concat("HeroFatesQualityHead", config.BGQuality.ToString()));
        txtQualityHeroName.text = StringUtility.Concat(RichTextMsgReplaceConfig.GetRichReplace("HeroQuality", config.BGQuality), Language.Get("herocard3"));
        txtQualityHeroName.color = UIHelper.GetUIColorByFunc(config.BGQuality);
        imgQualityHeroIcon.SetSprite(StringUtility.Concat("HeroFatesQualityHead", nextLVConfig.NeedQuality.ToString()));
        txtQualityHeroName.text = StringUtility.Concat(RichTextMsgReplaceConfig.GetRichReplace("HeroQuality", nextLVConfig.NeedQuality), Language.Get("herocard3"));
        txtQualityHeroName.color = UIHelper.GetUIColorByFunc(nextLVConfig.NeedQuality);
        int needCnt = nextLVConfig.NeedHeroCnt;
        txtNeedQualityHeroCnt.text = UIHelper.AppendColor(chooseCnt >= needCnt ? TextColType.DarkGreen : TextColType.Red, Language.Get("BoneField09", chooseCnt, needCnt));