| | |
| | | //-------------------------------------------------------- |
| | | // [Author]: 第二世界 |
| | | // [ Date ]: Friday, June 29, 2018 |
| | | // [ Date ]: Tuesday, September 18, 2018 |
| | | //-------------------------------------------------------- |
| | | |
| | | using UnityEngine; |
| | |
| | | public int LineId { get ; private set ; }
|
| | | public int ChallengeLevel { get ; private set ; }
|
| | | public int[] Potentials;
|
| | | public int[] SkillPower;
|
| | | public string NeedItem { get ; private set; }
|
| | | public int EffectID { get ; private set ; }
|
| | | public string[] Verse;
|
| | |
| | | int.TryParse(PotentialsStringArray[i],out Potentials[i]); |
| | | }
|
| | |
|
| | | NeedItem = rawContents[18].Trim();
|
| | | string[] SkillPowerStringArray = rawContents[18].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | SkillPower = new int[SkillPowerStringArray.Length]; |
| | | for (int i=0;i<SkillPowerStringArray.Length;i++) |
| | | { |
| | | int.TryParse(SkillPowerStringArray[i],out SkillPower[i]); |
| | | }
|
| | |
|
| | | EffectID=IsNumeric(rawContents[19]) ? int.Parse(rawContents[19]):0; |
| | | NeedItem = rawContents[19].Trim();
|
| | |
|
| | | Verse = rawContents[20].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
|
| | | EffectID=IsNumeric(rawContents[20]) ? int.Parse(rawContents[20]):0; |
| | |
|
| | | ShowNetGotEffect=IsNumeric(rawContents[21]) ? int.Parse(rawContents[21]):0; |
| | | Verse = rawContents[21].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
|
| | |
|
| | | PreferredStage=IsNumeric(rawContents[22]) ? int.Parse(rawContents[22]):0; |
| | | ShowNetGotEffect=IsNumeric(rawContents[22]) ? int.Parse(rawContents[22]):0; |
| | | |
| | | PreferredStage=IsNumeric(rawContents[23]) ? int.Parse(rawContents[23]):0; |
| | | }
|
| | | catch (Exception ex)
|
| | | {
|