/// <summary>Gets the BaseSpirit at a specific level.</summary> /// <param name="level">the level to get the BaseSpirit for</param> /// <returns>the BaseSpirit amount</returns> public int GetSpirit(int level) { LevelStatInfo levelStat = this.LevelStats[level - 1]; if (levelStat == null) { return(0); } return(levelStat.Spirit); }
/// <summary>Gets the BaseIntellect at a specific level.</summary> /// <param name="level">the level to get the BaseIntellect for</param> /// <returns>the BaseIntellect amount</returns> public int GetIntellect(int level) { LevelStatInfo levelStat = this.LevelStats[level - 1]; if (levelStat == null) { return(0); } return(levelStat.Intellect); }
/// <summary>Gets the BaseAgility at a specific level.</summary> /// <param name="level">the level to get the BaseAgility for</param> /// <returns>BaseAgility amount</returns> public int GetAgility(int level) { LevelStatInfo levelStat = this.LevelStats[level - 1]; if (levelStat == null) { return(0); } return(levelStat.Agility); }
/// <summary>Gets the BaseStamina at a specific level.</summary> /// <param name="level">the level to get the BaseStamina for</param> /// <returns>BaseStamina amount</returns> public int GetStamina(int level) { LevelStatInfo levelStat = this.LevelStats[level - 1]; if (levelStat == null) { return(0); } return(levelStat.Stamina); }
/// <summary>Gets the BaseStrength at a specific level.</summary> /// <param name="level">the level to get the BaseStrength for</param> /// <returns>BaseStrength amount</returns> public int GetStrength(int level) { LevelStatInfo levelStat = LevelStats[level - 1]; if (levelStat == null) { return(0); } return(levelStat.Strength); }