Пример #1
0
 private void RewardPlayer(Tier tier)
 {
     Getters.GetRandomAmmo(tier).AddToInventory(player);
     player.Gold      += 750 * (int)tier;
     player.MaxHealth += 50;
     player.Heal(player.MaxHealth);
     player.Defence += 15;
 }
Пример #2
0
        private ShopItems GetRandomStuff(Tier tier)
        {
            ShopItems items = new ShopItems();

            AddBonuses(items, Getters.GetDrop(tier).Keys.ToList());
            AddScraps(items, tier);
            items.Backpack.Add(Getters.GetRandomAmmo(tier));
            return(items);
        }