| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: YYL |
| | | // [ Date ]: Friday, June 27, 2025 |
| | | // [ Date ]: 2025年7月17日 |
| | | //-------------------------------------------------------- |
| | | |
| | | using System.Collections.Generic; |
| | |
| | | public string IconName; |
| | | public string Description; |
| | | public string BuffDescription; |
| | | public int Skillactmark; |
| | | public int BuffDisplay; |
| | | public int CastPosition; |
| | | public int CastDistance; |
| | | public int[] TriggerFrames; |
| | | public int[][] DamageDivide; |
| | | public string SkillMotionName; |
| | | public int EffectId; |
| | | public int ExplotionEffectId; |
| | | public float FlyTime; |
| | | |
| | | public override int LoadKey(string _key) |
| | | { |
| | |
| | | |
| | | BuffDescription = tables[71]; |
| | | |
| | | int.TryParse(tables[72],out Skillactmark); |
| | | int.TryParse(tables[72],out BuffDisplay); |
| | | |
| | | int.TryParse(tables[73],out BuffDisplay); |
| | | int.TryParse(tables[73],out CastPosition); |
| | | |
| | | int.TryParse(tables[74],out CastPosition); |
| | | int.TryParse(tables[74],out CastDistance); |
| | | |
| | | if (tables[75].Contains("[")) |
| | | { |
| | | TriggerFrames = JsonMapper.ToObject<int[]>(tables[75]); |
| | | } |
| | | else |
| | | { |
| | | string[] TriggerFramesStringArray = tables[75].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | TriggerFrames = new int[TriggerFramesStringArray.Length]; |
| | | for (int i=0;i<TriggerFramesStringArray.Length;i++) |
| | | { |
| | | int.TryParse(TriggerFramesStringArray[i],out TriggerFrames[i]); |
| | | } |
| | | } |
| | | |
| | | DamageDivide = JsonMapper.ToObject<int[][]>(tables[76].Replace("(", "[").Replace(")", "]")); |
| | | |
| | | SkillMotionName = tables[77]; |
| | | |
| | | int.TryParse(tables[78],out EffectId); |
| | | |
| | | int.TryParse(tables[79],out ExplotionEffectId); |
| | | |
| | | float.TryParse(tables[80],out FlyTime); |
| | | } |
| | | catch (Exception exception) |
| | | { |