protected override void UpdateSkillDescription() { Descriptions[InsertIndexes.First()] = "<color=blue>"; int levelCount = _Intensity.Levels.Count; for (int a = 0; a < levelCount; a++) { List <float> IDatas = _Intensity.Levels[a].IDatas; int count = IDatas.Count; for (int i = 0; i < count; i++) { var item = IDatas[i]; Descriptions[InsertIndexes.First()] += (item * 100).ToString(); } if (a < levelCount - 1) { Descriptions[InsertIndexes.First()] += "/"; } } Descriptions[InsertIndexes.First()] += "% of the target's Missing HP as damage</color>"; }
protected override void UpdateSkillDescription() { Descriptions[InsertIndexes.First()] = "<color=blue>"; int levelCount = _Intensity.Levels.Count; for (int a = 0; a < levelCount; a++) { List <float> IDatas = _Intensity.Levels[a].IDatas; int count = IDatas.Count; Descriptions[InsertIndexes.First()] += IDatas.First().ToString(); if (a < levelCount - 1) { Descriptions[InsertIndexes.First()] += "/"; } } Descriptions[InsertIndexes.First()] += " damage</color>"; Descriptions[InsertIndexes[1]] = "<color=blue>" + InitAmount + " damage </color>"; Descriptions[InsertIndexes.Last()] = "<color=blue>(" + InitDur + " turns)</color>"; }
protected override void UpdateSkillDescription() { Descriptions[InsertIndexes.First()] = "<color=blue>"; int levelCount = _Intensity.Levels.Count; Debug.Log(levelCount); for (int a = 0; a < levelCount; a++) { List <float> IDatas = _Intensity.Levels[a].IDatas; int count = IDatas.Count; Descriptions[InsertIndexes.First()] += IDatas.First().ToString(); if (a < levelCount - 1) { Descriptions[InsertIndexes.First()] += "/"; } } Descriptions[InsertIndexes.First()] += " Health</color>"; }