少年修仙传客户端代码仓库
client_linchunjie
2019-04-28 befbbfa399d03b62bc10959597c42fe9f1c52edb
System/MainInterfacePanel/FunctionForecastTip.cs
@@ -120,26 +120,7 @@
            _Information.gameObject.SetActive(true);
            _FunctionIcon.SetSprite(FunctionForecastConfig.Get(ID).FuncIconKey);
            _NameText.text = FunctionForecastConfig.Get(ID).Describe;
            FuncOpenLVConfig funcoPenConfig = FuncOpenLVConfig.Get(ID);
            if (funcoPenConfig.LimitMagicWeapon != 0 || funcoPenConfig.LimitMissionID != 0)
            {
                if (funcoPenConfig.LimitMagicWeapon != 0)
                {
                    int faBaoID = funcoPenConfig.LimitMagicWeapon / 100;
                    TreasureConfig treasure = TreasureConfig.Get(faBaoID);
                    _Information.text = string.Format(Language.Get("FuncFBOpen"), treasure.Name);
                    return;
                }
                if (funcoPenConfig.LimitMissionID != 0)
                {
                    _Information.text = string.Format(Language.Get("TaskFuncOpen"), funcoPenConfig.LimitLV);
                    return;
                }
            }
            else
            {
                _Information.text = string.Format(Language.Get("FuncLevelOpen"), funcoPenConfig.LimitLV);
            }
            _Information.text= FunctionForecastConfig.Get(ID).OpenDescribe;
        }