From 6d3da15158f9584edd2e61b17d3d1e23ef9a0230 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期三, 17 九月 2025 15:59:51 +0800 Subject: [PATCH] 117 【武将】武将系统 - 增加非玩家武将配置 --- Main/System/HeroUI/HeroUIManager.cs | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Main/System/HeroUI/HeroUIManager.cs b/Main/System/HeroUI/HeroUIManager.cs index 9a0dabc..b0f8634 100644 --- a/Main/System/HeroUI/HeroUIManager.cs +++ b/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)); } } -- Gitblit v1.8.0