public Skill(string name, string description, SkillStat stat, SkillDifficulty difficulty) { Name = name; Description = description; Stat = stat; Difficulty = difficulty; RelativeLevel = null; }
public static string difficultyToString(SkillDifficulty difficulty) { switch (difficulty) { case SkillDifficulty.Easy: return "E"; case SkillDifficulty.Average: return "A"; case SkillDifficulty.Hard: return "H"; case SkillDifficulty.VeryHard: return "V"; } throw null; }
public static int difficultyOffset(SkillDifficulty difficulty) { switch (difficulty) { case SkillDifficulty.Easy: return -1; case SkillDifficulty.Average: return -2; case SkillDifficulty.Hard: return -3; case SkillDifficulty.VeryHard: return -4; } throw null; }
public Skill(ParsedThing parsedThing, SkillDifficulty difficulty, Formula formula) : base(parsedThing) { this.difficulty = difficulty; this.formula = formula; }
public InheritedSkill(ParsedThing parsedThing, SkillDifficulty difficultyOverride, IdentifierToken parentSkillToken) : base(parsedThing) { this.difficultyOverride = difficultyOverride; this.parentSkillToken = parentSkillToken; }