Пример #1
0
        public void MoneyFound()
        {
            this.player.Money      += Constants.FoundMoneyAmmount;
            this.player.Experience += 5;
            var menu = new EncounterMenu(Constants.FoundMoneyMsg, this.reader, this.writer);

            menu.StartMenu();
        }
Пример #2
0
        public void BrokenLeg()
        {
            this.player.CurrentHitPoints -= Constants.BrokenLegDamage;
            this.player.Experience       += 20;
            var menu = new EncounterMenu(Constants.BrokenLegMsg, this.reader, this.writer);

            menu.StartMenu();
        }
Пример #3
0
        public void FallingBranch()
        {
            this.player.CurrentHitPoints -= Constants.FallinBranchDamage;
            this.player.Experience       += 10;
            var menu = new EncounterMenu(Constants.FallingBranchMsg, this.reader, this.writer);

            menu.StartMenu();
        }
Пример #4
0
        public void BootsFound()
        {
            var item = new Overshoe(1, "Chepicite na baba", 200, Rarity.Epic);

            this.player.Inventory.Add(item);
            this.player.Experience += 50;
            var menu = new EncounterMenu(GetMessage(item.Name), this.reader, this.writer);

            menu.StartMenu();
        }
Пример #5
0
        public void AxeFound()
        {
            var item = new Axe(1, "DragonSlayerAxe", 100, Rarity.Rare);

            this.player.Inventory.Add(item);
            this.player.Experience += 10;
            var menu = new EncounterMenu(GetMessage(item.Name), this.reader, this.writer);

            menu.StartMenu();
        }