| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: 2025年11月27日
|
| | | // [ Date ]: Friday, December 5, 2025
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public int[] FetterIDList;
|
| | | public float UIScale;
|
| | | public string Desc;
|
| | | public int Specialty;
|
| | | public int HurtType;
|
| | | public int[] Specialty2;
|
| | | public int[] TalentList;
|
| | |
|
| | | public override int LoadKey(string _key)
|
| | |
| | |
|
| | | Desc = tables[18];
|
| | |
|
| | | if (tables[19].Contains("[")) |
| | | int.TryParse(tables[19],out Specialty); |
| | |
|
| | | int.TryParse(tables[20],out HurtType); |
| | |
|
| | | if (tables[21].Contains("[")) |
| | | { |
| | | TalentList = JsonMapper.ToObject<int[]>(tables[19]); |
| | | Specialty2 = JsonMapper.ToObject<int[]>(tables[21]); |
| | | } |
| | | else |
| | | { |
| | | string[] TalentListStringArray = tables[19].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | string[] Specialty2StringArray = tables[21].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | Specialty2 = new int[Specialty2StringArray.Length]; |
| | | for (int i=0;i<Specialty2StringArray.Length;i++) |
| | | { |
| | | int.TryParse(Specialty2StringArray[i],out Specialty2[i]); |
| | | } |
| | | }
|
| | |
|
| | | if (tables[22].Contains("[")) |
| | | { |
| | | TalentList = JsonMapper.ToObject<int[]>(tables[22]); |
| | | } |
| | | else |
| | | { |
| | | string[] TalentListStringArray = tables[22].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | TalentList = new int[TalentListStringArray.Length]; |
| | | for (int i=0;i<TalentListStringArray.Length;i++) |
| | | { |