| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: 2025年10月27日
|
| | | // [ Date ]: Monday, October 27, 2025
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public int TagCount;
|
| | | public int HappenRate;
|
| | | public int CoolDownTime;
|
| | | public int BuffStateLimit;
|
| | | public int[] BuffStateLimit;
|
| | | public int BuffState;
|
| | | public int FightPower;
|
| | | public string SkillMotionName;
|
| | |
| | |
|
| | | int.TryParse(tables[15],out CoolDownTime);
|
| | |
|
| | | int.TryParse(tables[16],out BuffStateLimit); |
| | | if (tables[16].Contains("[")) |
| | | { |
| | | BuffStateLimit = JsonMapper.ToObject<int[]>(tables[16]); |
| | | } |
| | | else |
| | | { |
| | | string[] BuffStateLimitStringArray = tables[16].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | BuffStateLimit = new int[BuffStateLimitStringArray.Length]; |
| | | for (int i=0;i<BuffStateLimitStringArray.Length;i++) |
| | | { |
| | | int.TryParse(BuffStateLimitStringArray[i],out BuffStateLimit[i]); |
| | | } |
| | | }
|
| | |
|
| | | int.TryParse(tables[17],out BuffState);
|
| | |
|