lcy
2 天以前 95e525db797001becb4eaa2562255ef22e5b7c89
130 信息提示的参数支持武将的品质 、武将的名字
1个文件已修改
15 ■■■■■ 已修改文件
Main/System/Message/RichTableEvent.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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) ;
                                        }
                                    }
                                }