| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: Wednesday, October 15, 2025
|
| | | // [ Date ]: Tuesday, October 21, 2025
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public int FightPower;
|
| | | public string SkillMotionName;
|
| | | public string IconName;
|
| | | public string BuffIconName;
|
| | | public string SkillTipsName;
|
| | | public int EffectType;
|
| | | public int StartupFrames;
|
| | | public int[] ActiveFrames;
|
| | |
| | |
|
| | | IconName = tables[18];
|
| | |
|
| | | int.TryParse(tables[19],out EffectType); |
| | | BuffIconName = tables[19];
|
| | |
|
| | | int.TryParse(tables[20],out StartupFrames); |
| | | SkillTipsName = tables[20];
|
| | |
|
| | | if (tables[21].Contains("[")) |
| | | int.TryParse(tables[21],out EffectType); |
| | |
|
| | | int.TryParse(tables[22],out StartupFrames); |
| | |
|
| | | if (tables[23].Contains("[")) |
| | | { |
| | | ActiveFrames = JsonMapper.ToObject<int[]>(tables[21]); |
| | | ActiveFrames = JsonMapper.ToObject<int[]>(tables[23]); |
| | | } |
| | | else |
| | | { |
| | | string[] ActiveFramesStringArray = tables[21].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | string[] ActiveFramesStringArray = tables[23].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | ActiveFrames = new int[ActiveFramesStringArray.Length]; |
| | | for (int i=0;i<ActiveFramesStringArray.Length;i++) |
| | | { |
| | |
| | | } |
| | | }
|
| | |
|
| | | int.TryParse(tables[22],out RecoveryFrames); |
| | | int.TryParse(tables[24],out RecoveryFrames); |
| | |
|
| | | int.TryParse(tables[23],out LoopCount); |
| | | int.TryParse(tables[25],out LoopCount); |
| | |
|
| | | int.TryParse(tables[24],out CastPosition); |
| | | int.TryParse(tables[26],out CastPosition); |
| | |
|
| | | int.TryParse(tables[25],out CastIndexNum); |
| | | int.TryParse(tables[27],out CastIndexNum); |
| | |
|
| | | float.TryParse(tables[26],out CastDistance); |
| | | float.TryParse(tables[28],out CastDistance); |
| | |
|
| | | DamageDivide = JsonMapper.ToObject<int[][]>(tables[27].Replace("(", "[").Replace(")", "]")); |
| | | DamageDivide = JsonMapper.ToObject<int[][]>(tables[29].Replace("(", "[").Replace(")", "]")); |
| | |
|
| | | int.TryParse(tables[28],out BulletEffectId); |
| | | int.TryParse(tables[30],out BulletEffectId); |
| | |
|
| | | int.TryParse(tables[29],out BulletPath); |
| | | int.TryParse(tables[31],out BulletPath); |
| | |
|
| | | float.TryParse(tables[30],out BulletFlySpeed); |
| | | float.TryParse(tables[32],out BulletFlySpeed); |
| | |
|
| | | int.TryParse(tables[31],out Scattering); |
| | | int.TryParse(tables[33],out Scattering); |
| | |
|
| | | int.TryParse(tables[32],out ExplosionEffectId); |
| | | int.TryParse(tables[34],out ExplosionEffectId); |
| | |
|
| | | int.TryParse(tables[33],out ExplosionEffect2); |
| | | int.TryParse(tables[35],out ExplosionEffect2); |
| | |
|
| | | int.TryParse(tables[34],out ExplosionEffect3); |
| | | int.TryParse(tables[36],out ExplosionEffect3); |
| | |
|
| | | int.TryParse(tables[35],out ExplosionEffect4); |
| | | int.TryParse(tables[37],out ExplosionEffect4); |
| | |
|
| | | int.TryParse(tables[36],out EffectId); |
| | | int.TryParse(tables[38],out EffectId); |
| | |
|
| | | int.TryParse(tables[37],out EffectId2); |
| | | int.TryParse(tables[39],out EffectId2); |
| | |
|
| | | int.TryParse(tables[38],out MStartEffectId); |
| | | int.TryParse(tables[40],out MStartEffectId); |
| | |
|
| | | int.TryParse(tables[39],out BuffEffect); |
| | | int.TryParse(tables[41],out BuffEffect); |
| | |
|
| | | int.TryParse(tables[40],out TriggerEffect); |
| | | int.TryParse(tables[42],out TriggerEffect); |
| | | }
|
| | | catch (Exception exception)
|
| | | {
|