public Mob GenerateMob(string name) { Mob newmob = new Mob(name); return(newmob); }
public int GetNumberOfExtraStats(Mob mob) { return(mob.Level / 8); }
/// <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); }