lcy
2025-12-15 95e525db797001becb4eaa2562255ef22e5b7c89
Main/System/Message/RichTableEvent.cs
@@ -111,7 +111,20 @@
                                        NPCConfig cfg = NPCConfig.Get(id);
                                        if (cfg != null)
                                        {
                                            return cfg.NPCName;
                                            return  cfg.NPCName;
                                        }
                                    }
                                }
                                break;
                            case "hero":
                                {
                                    int id = 0;
                                    if (_dict.ContainsKey("id") && int.TryParse(_dict["id"], out id))
                                    {
                                        HeroConfig cfg = HeroConfig.Get(id);
                                        if (cfg != null)
                                        {
                                            return UIHelper.AppendColor(UIHelper.GetUIColorByFunc(cfg.Quality), cfg.Name) ;
                                        }
                                    }
                                }