hch
2025-12-30 7085c695618bb1cc1c043fc2b6ebc8b3a26ae399
357 子 【内政】红颜系统 / 【内政】红颜系统-客户端
3个文件已修改
17 ■■■■■ 已修改文件
Main/System/BeautyMM/BeautyMMManager.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/BeautyMM/BeautyMMShowWin.cs 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/BeautyMM/BeautyMMTalentEffectCell.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/BeautyMM/BeautyMMManager.cs
@@ -171,6 +171,12 @@
        {
            return isActiveA ? -1 : 1;
        }
        var qualityA = BeautyConfig.Get(mmIDA).BeautyQuality;
        var qualityB = BeautyConfig.Get(mmIDB).BeautyQuality;
        if (qualityA != qualityB)
        {
            return qualityB - qualityA;
        }
        return mmIDA - mmIDB;
    }
Main/System/BeautyMM/BeautyMMShowWin.cs
@@ -113,7 +113,6 @@
    protected override void OnPreOpen()
    {
        mmID = functionOrder;
        loveScroller.OnRefreshCell += OnRefreshCell;
        BeautyMMManager.Instance.OnBeautyMMDataUpdate += OnBeautyMMDataUpdate;
@@ -197,7 +196,7 @@
            needExp = nextLVConfig.LVNeedExp;
            expText.text = (mmData != null ? mmData.Exp.ToString() : "0") + "/" + needExp;
            process.fillAmount = mmData != null ? mmData.Exp / needExp : 0;
            process.fillAmount = mmData != null ? mmData.Exp*1.0f / needExp : 0;
            showAwardCell.SetActive(true);
            int itemID = nextLVConfig.AwardItemList[0][0];
            showAwardCell.Init(new ItemCellModel(itemID, false, nextLVConfig.AwardItemList[0][1]));
@@ -223,8 +222,8 @@
            nextAddAttrText.text = Language.Get("BeautyMM23") + PlayerPropertyConfig.GetFullDescription(nextLVConfig.AttrIDList[0], nextLVConfig.AttrValueList[0], format);
            ShowTalent();
            nextLVTalentTipRect.SetActive(true);
            nextLVTalentTip.text = Language.Get("BeautyMM26", beforeRank * BeautyMMManager.Instance.needLVForTalent);
            nextLVTalentTipRect.SetActive(isActive);
            nextLVTalentTip.text = Language.Get("BeautyMM26", (beforeRank + 1)* BeautyMMManager.Instance.needLVForTalent);
            giftOPRect.SetActive(true);
            fullRect.SetActive(false);
        }
Main/System/BeautyMM/BeautyMMTalentEffectCell.cs
@@ -24,8 +24,8 @@
        }
        lvBGImg.gray = !isRankActive;
        ShowTalent(mmID, rank, isRankActive);
        activeImg.SetActive(isRankActive && lvValue/BeautyMMManager.Instance.needLVForTalent == rank);
        nameText.text = isRankActive ? Language.Get($"BeautyMMLVName{rank + 1}") : UIHelper.AppendColor(TextColType.NavyGray, Language.Get($"BeautyMMLVName{rank}"));
        activeImg.SetActive(isRankActive && lvValue / BeautyMMManager.Instance.needLVForTalent == rank);
        nameText.text = isRankActive ? Language.Get($"BeautyMMLVName{rank + 1}") : UIHelper.AppendColor(TextColType.NavyGray, Language.Get($"BeautyMMLVName{rank + 1}"));
    }