hch
2025-09-17 6d3da15158f9584edd2e61b17d3d1e23ef9a0230
117 【武将】武将系统 - 增加非玩家武将配置
2个文件已修改
5 ■■■■■ 已修改文件
Main/System/HeroUI/HeroUIManager.Collect.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/HeroUI/HeroUIManager.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/HeroUI/HeroUIManager.Collect.cs
@@ -71,6 +71,8 @@
        foreach (var heroID in heroIDs)
        {
            HeroConfig heroConfig = HeroConfig.Get(heroID);
            if (heroConfig.PlayerCanUse == 0)
                continue;
            if (!heroCollectDict.ContainsKey(heroConfig.Quality))
            {
                heroCollectDict[heroConfig.Quality] = new List<int>();
Main/System/HeroUI/HeroUIManager.cs
@@ -484,6 +484,9 @@
        heroBookRedpointList.Clear();
        foreach (var key in HeroConfig.GetKeys())
        { 
            var config = HeroConfig.Get(key);
            if (config.PlayerCanUse == 0)
                continue;
            heroBookRedpointList.Add(new Redpoint(MainRedDot.HeroCardCollectRedpoint, MainRedDot.HeroCardCollectRedpoint * 10000000 + key));
        }
    }