Esempio n. 1
0
        public void Atk()
        {
            Print.Combat1();
            Print.Combat2(boss.Nom, boss.Life);
            while (boss.Life >= 10 && chara.Life > 0)
            {
                Print.Combat3(boss.Nom.ToUpper(), chara.Nom.ToUpper(), boss.Power);
                chara.Damage(boss.Power);
                Print.Combat4(chara.Nom, chara.Life);
                Console.WriteLine("Que veux-tu faire " + chara.Nom.ToUpper());
                Print.Combat5();
                int c = int.Parse(Console.ReadLine());
                Choice(c);
                if (boss.Life > 0 && c != 4)
                {
                    Print.Combat6(boss.Nom);
                }
            }

            Print.Combat7();
            phase2();
        }