| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: Wednesday, September 17, 2025
|
| | | // [ Date ]: 2025年11月27日
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public int[] SkinIDList;
|
| | | public int AtkSkillID;
|
| | | public int AngerSkillID;
|
| | | public int DeathSFX;
|
| | | public int HitSFX;
|
| | | public int AtkInheritPer;
|
| | | public int DefInheritPer;
|
| | | public int HPInheritPer;
|
| | |
| | |
|
| | | int.TryParse(tables[9],out AngerSkillID);
|
| | |
|
| | | int.TryParse(tables[10],out AtkInheritPer); |
| | | int.TryParse(tables[10],out DeathSFX); |
| | |
|
| | | int.TryParse(tables[11],out DefInheritPer); |
| | | int.TryParse(tables[11],out HitSFX); |
| | |
|
| | | int.TryParse(tables[12],out HPInheritPer); |
| | | int.TryParse(tables[12],out AtkInheritPer); |
| | |
|
| | | BatAttrDict = ConfigParse.ParseIntDict(tables[13]); |
| | | int.TryParse(tables[13],out DefInheritPer); |
| | |
|
| | | if (tables[14].Contains("[")) |
| | | int.TryParse(tables[14],out HPInheritPer); |
| | |
|
| | | BatAttrDict = ConfigParse.ParseIntDict(tables[15]); |
| | |
|
| | | if (tables[16].Contains("[")) |
| | | { |
| | | FetterIDList = JsonMapper.ToObject<int[]>(tables[14]); |
| | | FetterIDList = JsonMapper.ToObject<int[]>(tables[16]); |
| | | } |
| | | else |
| | | { |
| | | string[] FetterIDListStringArray = tables[14].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | string[] FetterIDListStringArray = tables[16].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | FetterIDList = new int[FetterIDListStringArray.Length]; |
| | | for (int i=0;i<FetterIDListStringArray.Length;i++) |
| | | { |
| | |
| | | } |
| | | }
|
| | |
|
| | | float.TryParse(tables[15],out UIScale); |
| | | float.TryParse(tables[17],out UIScale); |
| | |
|
| | | Desc = tables[16];
|
| | | Desc = tables[18];
|
| | |
|
| | | if (tables[17].Contains("[")) |
| | | if (tables[19].Contains("[")) |
| | | { |
| | | TalentList = JsonMapper.ToObject<int[]>(tables[17]); |
| | | TalentList = JsonMapper.ToObject<int[]>(tables[19]); |
| | | } |
| | | else |
| | | { |
| | | string[] TalentListStringArray = tables[17].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | string[] TalentListStringArray = tables[19].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | TalentList = new int[TalentListStringArray.Length]; |
| | | for (int i=0;i<TalentListStringArray.Length;i++) |
| | | { |