| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: Monday, August 25, 2025
|
| | | // [ Date ]: 2025年8月26日
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public int CoolDownTime;
|
| | | public int[] EnhanceSkillList;
|
| | | public int FightPower;
|
| | | public string SkillMotionName;
|
| | | public string IconName;
|
| | | public int EffectType;
|
| | | public int StartupFrames;
|
| | | public int[] ActiveFrames;
|
| | | public int RecoveryFrames;
|
| | |
| | | public float CastDistance;
|
| | | public int[][] DamageDivide;
|
| | | public int BulletEffectId;
|
| | | public int BulletPos;
|
| | | public int BulletPath;
|
| | | public float BulletFlyTime;
|
| | | public int ExplosionEffectId;
|
| | | public int ExplosionPos;
|
| | | public string SkillMotionName;
|
| | | public int EffectId;
|
| | | public int EffectPos;
|
| | | public int EffectType;
|
| | | public string IconName;
|
| | | public int ExplosionEffect2;
|
| | | public int EffectId;
|
| | | public int EffectId2;
|
| | | public int MStartEffectId;
|
| | |
|
| | | public override int LoadKey(string _key)
|
| | | {
|
| | |
| | |
|
| | | int.TryParse(tables[23],out FightPower);
|
| | |
|
| | | int.TryParse(tables[24],out StartupFrames); |
| | | SkillMotionName = tables[24];
|
| | |
|
| | | if (tables[25].Contains("[")) |
| | | IconName = tables[25];
|
| | |
|
| | | int.TryParse(tables[26],out EffectType); |
| | |
|
| | | int.TryParse(tables[27],out StartupFrames); |
| | |
|
| | | if (tables[28].Contains("[")) |
| | | { |
| | | ActiveFrames = JsonMapper.ToObject<int[]>(tables[25]); |
| | | ActiveFrames = JsonMapper.ToObject<int[]>(tables[28]); |
| | | } |
| | | else |
| | | { |
| | | string[] ActiveFramesStringArray = tables[25].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | string[] ActiveFramesStringArray = tables[28].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | ActiveFrames = new int[ActiveFramesStringArray.Length]; |
| | | for (int i=0;i<ActiveFramesStringArray.Length;i++) |
| | | { |
| | |
| | | } |
| | | }
|
| | |
|
| | | int.TryParse(tables[26],out RecoveryFrames); |
| | | int.TryParse(tables[29],out RecoveryFrames); |
| | |
|
| | | int.TryParse(tables[27],out LoopCount); |
| | | int.TryParse(tables[30],out LoopCount); |
| | |
|
| | | int.TryParse(tables[28],out CastPosition); |
| | | int.TryParse(tables[31],out CastPosition); |
| | |
|
| | | int.TryParse(tables[29],out CastIndexNum); |
| | | int.TryParse(tables[32],out CastIndexNum); |
| | |
|
| | | float.TryParse(tables[30],out CastDistance); |
| | | float.TryParse(tables[33],out CastDistance); |
| | |
|
| | | DamageDivide = JsonMapper.ToObject<int[][]>(tables[31].Replace("(", "[").Replace(")", "]")); |
| | | DamageDivide = JsonMapper.ToObject<int[][]>(tables[34].Replace("(", "[").Replace(")", "]")); |
| | |
|
| | | int.TryParse(tables[32],out BulletEffectId); |
| | | int.TryParse(tables[35],out BulletEffectId); |
| | |
|
| | | int.TryParse(tables[33],out BulletPos); |
| | | int.TryParse(tables[36],out BulletPath); |
| | |
|
| | | int.TryParse(tables[34],out BulletPath); |
| | | float.TryParse(tables[37],out BulletFlyTime); |
| | |
|
| | | float.TryParse(tables[35],out BulletFlyTime); |
| | | int.TryParse(tables[38],out ExplosionEffectId); |
| | |
|
| | | int.TryParse(tables[36],out ExplosionEffectId); |
| | | int.TryParse(tables[39],out ExplosionEffect2); |
| | |
|
| | | int.TryParse(tables[37],out ExplosionPos); |
| | | int.TryParse(tables[40],out EffectId); |
| | |
|
| | | SkillMotionName = tables[38];
|
| | | int.TryParse(tables[41],out EffectId2); |
| | |
|
| | | int.TryParse(tables[39],out EffectId); |
| | |
|
| | | int.TryParse(tables[40],out EffectPos); |
| | |
|
| | | int.TryParse(tables[41],out EffectType); |
| | |
|
| | | IconName = tables[42];
|
| | |
|
| | | int.TryParse(tables[43],out ExplosionEffect2); |
| | | int.TryParse(tables[42],out MStartEffectId); |
| | | }
|
| | | catch (Exception exception)
|
| | | {
|