| | |
| | | errorCode = 1; |
| | | return false; |
| | | } |
| | | if (config.ManLevel > 0 && PlayerDatas.Instance.baseData.ExAttr1 < config.ManLevel) |
| | | { |
| | | errorCode = 5; |
| | | return false; |
| | | } |
| | | return true; |
| | | // return false; |
| | | } |
| | |
| | | case 4: |
| | | SysNotifyMgr.Instance.ShowStringTip(Language.Get("FuncLimit_Mission", TaskManager.Instance.GetNeedFinishTaskCount(config.LimitMissionID))); |
| | | break; |
| | | case 5: |
| | | SysNotifyMgr.Instance.ShowStringTip(Language.Get("FuncLimit_ManLevel", config.ManLevel/10000, config.ManLevel/100%100, config.ManLevel%100)); |
| | | break; |
| | | } |
| | | } |
| | | } |
| | |
| | | return Language.Get("FuncLimit_Realm", RealmConfig.Get(config.LimiRealmLV).Name); |
| | | case 4: |
| | | return Language.Get("FuncLimit_Mission", TaskManager.Instance.GetNeedFinishTaskCount(config.LimitMissionID)); |
| | | case 5: |
| | | return Language.Get("FuncLimit_ManLevel", config.ManLevel/10000, config.ManLevel/100%100, config.ManLevel%100); |
| | | } |
| | | } |
| | | return string.Empty; |
| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: 2025年8月28日
|
| | | // [ Date ]: Thursday, November 27, 2025
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public int LimiRealmLV;
|
| | | public int LimitMissionID;
|
| | | public int OpenDay;
|
| | | public int ManLevel;
|
| | | public string Name;
|
| | | public string Desc;
|
| | | public string Icon;
|
| | |
| | |
|
| | | int.TryParse(tables[4],out OpenDay);
|
| | |
|
| | | Name = tables[5];
|
| | | int.TryParse(tables[5],out ManLevel); |
| | |
|
| | | Desc = tables[6];
|
| | | Name = tables[6];
|
| | |
|
| | | Icon = tables[7];
|
| | | Desc = tables[7];
|
| | |
|
| | | Award = ConfigParse.ParseIntArray2Dict(tables[8]); |
| | | Icon = tables[8];
|
| | |
|
| | | Award = ConfigParse.ParseIntArray2Dict(tables[9].Replace("(", "[").Replace(")", "]")); |
| | | }
|
| | | catch (Exception exception)
|
| | | {
|