예제 #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);
 }