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