示例#1
0
        public static void ChampionHitChance()
        {
            Random RndHitChance      = new Random();
            int    LocalRndHitChance = 0;

            LocalRndHitChance = RndHitChance.Next(0, 50);
            Champions.WeaponHitChanceModifier = LocalRndHitChance;
            SetChampionValues.ChampionValueSetter();
        }
示例#2
0
文件: Center.cs 项目: Sonor7/H-s-k
        public static void DisplayMenu()
        {
            Console.ForegroundColor = ConsoleColor.DarkYellow;
            Console.WriteLine("Choose a Menu Option\nEquip Items(1)\nSave(2)\nLoad(3)\nShop(4)\nDiscovery and Fight(5)\nQuit(6)");
            MenuChoice = SetNumber();
            switch (MenuChoice)
            {
            case 1:
                Console.WriteLine("Here You Can Equip Items\n Enter the name of the item you want to equip");
                Inventory.ItemList();
                Items.Equip(Console.ReadLine());
                break;

            case 2:    //Inventory + equip items
                break;

            case 3:    //Some kind of shop, is Settings.CanShop = true
                break;

            case 4:
                Shop.Welcome();
                Shop.Buy();
                break;

            case 5:    //fighting + discovery(fights should take place at a randomized setting, and begin with your stats displaying)

                while (Center.LocalWannaExit == false)
                {
                    SetChampionValues.ChampionValueSetter();
                    DisplayStats();
                    while (DisplayWannaexit == false)
                    {
                        Settings.DisplaySetting(Settings.RandomizeSetting());    //Ez randomizál is!
                    }
                    //WhatHappensNext();
                }
                break;

            case 6:
                Console.WriteLine("Thank you for playing");
                ExitCode = true;
                break;
            }
        }