Ejemplo n.º 1
0
        static public void FinalBoss(Player p1, Enemy e)
        {
            Battle(p1, e);
            if (p1.health < 1)
            {
                return;
            }
            TutorialBunny2 tb2 = new TutorialBunny2();

            tb2.Create();
            Battle(p1, tb2);
            if (p1.health < 1)
            {
                return;
            }
            Console.Clear();
            Console.WriteLine("Chad falls to the floor, having used all of his energy he turns to chrimson dust and blows away");
            Console.WriteLine("Congrats, you are now the king of Hell.");
            Console.WriteLine("#############################################");
            Console.WriteLine("#             Thanks For Playing            #");
            Console.WriteLine("#        Find this project on GitHub        #");
            Console.WriteLine("# https://github.com/BoneKing/Dungeon-Redux #");
            Console.WriteLine("#     This game was made by Andy Mahoney    #");
            Console.WriteLine("#            Last Updated 10/20/2020        #");
            Console.WriteLine("#############################################");
        }
Ejemplo n.º 2
0
        static public int FinalBoss(Player p1, Enemy e)  //1 is loss 0 is won
        {
            BattleMenu BattleMenu = new BattleMenu();

            BattleMenu.Battle(p1, e);
            if (p1.health < 1)
            {
                return(1);
            }
            TutorialBunny2 tb2 = new TutorialBunny2();

            tb2.Create();
            BattleMenu.Battle(p1, tb2);
            if (p1.health < 1)
            {
                return(1);
            }
            return(0);
        }