Esempio n. 1
0
 public Skill(string name, string description, SkillStat stat, SkillDifficulty difficulty)
 {
     Name = name;
     Description = description;
     Stat = stat;
     Difficulty = difficulty;
     RelativeLevel = null;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 public Skill(ParsedThing parsedThing, SkillDifficulty difficulty, Formula formula)
     : base(parsedThing)
 {
     this.difficulty = difficulty;
     this.formula = formula;
 }
Esempio n. 5
0
 public InheritedSkill(ParsedThing parsedThing, SkillDifficulty difficultyOverride, IdentifierToken parentSkillToken)
     : base(parsedThing)
 {
     this.difficultyOverride = difficultyOverride;
     this.parentSkillToken = parentSkillToken;
 }