Пример #1
0
        public Mob GenerateMob(string name)
        {
            Mob newmob = new Mob(name);

            return(newmob);
        }
Пример #2
0
 public int GetNumberOfExtraStats(Mob mob)
 {
     return(mob.Level / 8);
 }
Пример #3
0
 /// <summary>
 /// Adds the amount of xp gained from mob killed (Enemy Mob)
 /// Then checks if its enough for level up with GainLevel
 /// Returns the mob afterwards
 /// </summary>
 /// <param name="mob"></param>
 /// <param name="enemy"></param>
 /// <returns></returns>
 public Mob GainExperince(Mob mob, Mob enemy)
 {
     mob.Xp += XpCalculation.GetXpGain(enemy, mob);
     GainLevel(mob);
     return(mob);
 }