lcy
9 天以前 897b9d2f29b8ad5f7ded302203e570fa573b224c
411 定军阁-客户端

1. 定军阁加成效果表RandWeight配0的在加成预设页面不显示
2.武将星级天赋表InitWeight WashWeight AweakWeight 有一项配0,在武将天赋展示界面不展示
5个文件已修改
38 ■■■■ 已修改文件
Main/Config/Configs/FBDJGEffectConfig.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/Config/Configs/HeroTalentConfig.cs 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/HeroUI/HeroGiftLineCell.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/HeroUI/HeroGiftWin.cs 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/WarlordPavilion/WarlordPavilionManager.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/Config/Configs/FBDJGEffectConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:           YYL
//    [  Date ]:           Thursday, January 8, 2026
//    [  Date ]:           2026年1月28日
//--------------------------------------------------------
using System.Collections.Generic;
@@ -21,6 +21,7 @@
    public int EffQuality;
    public int AttrID;
    public int AttrValue;
    public int RandWeight;
    public override int LoadKey(string _key)
    {
@@ -41,6 +42,8 @@
            int.TryParse(tables[3],out AttrID); 
            int.TryParse(tables[4],out AttrValue); 
            int.TryParse(tables[5],out RandWeight);
        }
        catch (Exception exception)
        {
Main/Config/Configs/HeroTalentConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:           YYL
//    [  Date ]:           2025年8月5日
//    [  Date ]:           Wednesday, January 28, 2026
//--------------------------------------------------------
using System.Collections.Generic;
@@ -21,6 +21,9 @@
    public int Quality;
    public int AttrID;
    public int AttrValue;
    public int InitWeight;
    public int WashWeight;
    public int AweakWeight;
    public override int LoadKey(string _key)
    {
@@ -41,6 +44,12 @@
            int.TryParse(tables[3],out AttrID); 
            int.TryParse(tables[4],out AttrValue); 
            int.TryParse(tables[5],out InitWeight);
            int.TryParse(tables[6],out WashWeight);
            int.TryParse(tables[7],out AweakWeight);
        }
        catch (Exception exception)
        {
Main/System/HeroUI/HeroGiftLineCell.cs
@@ -6,10 +6,10 @@
    [SerializeField] GiftBaseCell[] cardList;
    public void Display(int index, List<int> configList)
    {
    {
        for (int i = 0; i < cardList.Length; i++)
        {
            if (index < configList.Count)
            if (index + i < configList.Count)
            {
                var giftID = configList[index + i];
                var giftLV = HeroUIManager.Instance.maxGiftLevel;
Main/System/HeroUI/HeroGiftWin.cs
@@ -17,7 +17,7 @@
    protected override void OnPreOpen()
    {
        scroller.OnRefreshCell += OnRefreshCell;
        CreateScroller();
    }
@@ -27,10 +27,22 @@
    }
    private List<int> GetKeys()
    {
        List<int> res = new List<int>();
        foreach (var config in HeroTalentConfig.GetValues())
        {
            if (config.InitWeight == 0 || config.WashWeight == 0 || config.AweakWeight == 0)
                continue;
            res.Add(config.TalentID);
        }
        return res;
    }
    List<int> configList = new List<int>();
    void CreateScroller()
    {
        configList = HeroTalentConfig.GetKeys().ToList();
        configList = GetKeys();
        var totalCount = configList.Count;
        scroller.Refresh();
Main/System/WarlordPavilion/WarlordPavilionManager.cs
@@ -346,6 +346,8 @@
            foreach (var config in FBDJGEffectConfig.GetValues())
            {
                int attrId = config.AttrID;
                if (config.RandWeight == 0)
                    continue;
                if (!attrIds.Contains(attrId))
                {
                    attrIds.Add(attrId);