Beispiel #1
0
        static void ShowStats()
        {
            bool IsAssignout = false;

            while (!IsAssignout)
            {
                Console.Clear();
                Console.WriteLine($"\n[{CurrentAccount.Username} > {CurrentChar.Name} > Stats]\n");
                Console.WriteLine("--------------------------------------------------------");
                Console.WriteLine($"Name:\t{CurrentChar.Name}\t\tStr : {CurrentChar.Str}\t\tInt : {CurrentChar.Int}\nLvl:\t{CurrentChar.Level}\t\tAgi : {CurrentChar.Agi}\t\tDex : {CurrentChar.Dex}\nJob:\t{CurrentChar.Job}\t\tVit : {CurrentChar.Vit}\t\tLuk : {CurrentChar.Luk}");
                Console.WriteLine($"\n\t\t\tUnusedStatpoint : {CurrentChar.UnusedStatPoints}");
                Console.WriteLine("--------------------------------------------------------");
                switch (ShowMenu($"[Str+1]", "[Agi+1]", "[Vit+1]", "[Int+1]", "[Dex+1]", "[Luk+1]", "[Reset]", "[Back]"))
                {
                case '1':
                    CurrentChar.StrStat();
                    continue;

                case '2':
                    CurrentChar.AgiStat();
                    continue;

                case '3':
                    CurrentChar.VitStat();
                    continue;

                case '4':
                    CurrentChar.IntStat();
                    continue;

                case '5':
                    CurrentChar.DexStat();
                    continue;

                case '6':
                    CurrentChar.LukStat();
                    continue;

                case '7':
                    CurrentChar.StatReset();
                    continue;

                case '8':
                    IsAssignout = true;
                    continue;
                }
            }
        }