public static Potion GetPotion(Potion potion, List <Potion> potions) { potion = potions[RandomNumber.NumberBetween(0, 7)]; return(potion); }
public static Mob GetCurrentMob(Mob mob, List <Mob> mobs) { mob = mobs[RandomNumber.NumberBetween(0, 4)]; return(mob); }
//List<string> potions = new List<string>() {"Health", "Ability Boost"}; //public string ID { get; set; } //public string Description { get; set; } public Potion(int id, string name, int damage, int ac, int hp, int xp) : base(id, name, damage, ac, hp, xp) { CurrentRoom = GameAttributes.rooms[RandomNumber.NumberBetween(0, 6)]; }