Beispiel #1
0
        public void Magus(string incantatio, Persona Ego)
        {
            if (incantatio == "grimoire")
            {
                Pyromancy.Grimoire();
                Iarmancy.Grimoire();
                Aquamancy.Grimoire();
                Taromancy.Grimoire();
                Glacemancy.Grimoire();
                Denkoumancy.Grimoire();
                Yamimancy.Grimoire();
                Almancy.Grimoire();

                Console.WriteLine("\nChoose a spell.");
                incantatio = Console.ReadLine();
            }

            if (Pyromancy.Discere(incantatio))
            {
                Ego.Addicio("repertoire", incantatio);
            }
            else if (Iarmancy.Discere(incantatio))
            {
                Ego.Addicio("repertoire", incantatio);
            }
            else if (Aquamancy.Discere(incantatio))
            {
                Ego.Addicio("repertoire", incantatio);
            }
            else if (Taromancy.Discere(incantatio))
            {
                Ego.Addicio("repertoire", incantatio);
            }
            else if (Glacemancy.Discere(incantatio))
            {
                Ego.Addicio("repertoire", incantatio);
            }
            else if (Denkoumancy.Discere(incantatio))
            {
                Ego.Addicio("repertoire", incantatio);
            }
            else if (Yamimancy.Discere(incantatio))
            {
                Ego.Addicio("repertoire", incantatio);
            }
            else if (Almancy.Discere(incantatio))
            {
                Ego.Addicio("repertoire", incantatio);
            }
            else
            {
                Console.WriteLine("\nNaught was found.\nType 'grimoire' or the spell name to try again or leave it blank to exit.");
                incantatio = Console.ReadLine();
                if (incantatio != "")
                {
                    Magus(incantatio, Ego);
                }
            }
        }
Beispiel #2
0
        public static void Learner(Persona Ego, string typ = "", string nom = "")
        {
            if (typ == "")
            {
                Console.WriteLine("What do you wish to learn?\n1>Proffession\n2>Mastery\n3>Spell\n4>Skill\n5>Buff");
                Σ.notou = Console.ReadLine();
                Console.WriteLine("Name it.");
                Σ.notod = Console.ReadLine();
            }
            else
            {
                Σ.notou = typ;
                Σ.notod = nom;
            }

            switch (Σ.notou)
            {
            case "1":
                Ego.AddicioM(nom);
                break;

            case "2":
                Ego.AddicioM(nom, verbum: "peritia");
                break;

            case "3":
                Ego.Addicio("repertoire", nom);
                break;

            case "4":
                Ego.Addicio(nom);
                break;

            case "5":
                Ego.AddicioB(nom);
                break;

            default:

                break;
            }
        }