Ejemplo n.º 1
0
Archivo: Elf.cs Proyecto: Bedengus/ULF
        public static void Mensura(Persona Ego)
        {
            Σ.rector = Console.ReadLine().ToLower();

            if (Σ.rector == "roll")
            {
                Ego.Altitudo      = 130 + Mechanicae.Volvere(10, 10);
                Ego.Latitudo      = Math.Round((Ego.Altitudo / 100) * (20 + Mechanicae.Volvere(10)), 2);
                Ego.Crassitudo[1] = 4 + Mechanicae.Volvere(4);
                Ego.Crassitudo[0] = Math.Round((Ego.Altitudo / 100) * Ego.Crassitudo[1], 2);
                Ego.Carnatio      = Math.Round(Ego.Altitudo * Ego.Latitudo * Ego.Crassitudo[0], 2);
                Ego.Pondus[0]     = Math.Round((Ego.Carnatio * 0.7) / 1000, 2);
                Ego.Spatium[0]    = Math.Round(Ego.Altitudo / 2);
                Ego.Spatium[1]    = Math.Round(Ego.Altitudo / 2);
                Ego.Planitia[0]   = Math.Round(Ego.Altitudo * Ego.Latitudo, 2);
                Ego.Planitia[1]   = Math.Round(Ego.Altitudo * Ego.Crassitudo[0], 2);
            }
            else
            {
                Ego.Altitudo      = 180;
                Ego.Latitudo      = 45;
                Ego.Crassitudo[1] = 6;
                Ego.Crassitudo[0] = 10;
                Ego.Carnatio      = 180 * 45 * 10;
                Ego.Pondus[0]     = 56;
                Ego.Spatium[0]    = 90;
                Ego.Spatium[1]    = 90;
                Ego.Planitia[0]   = 8150;
                Ego.Planitia[1]   = 1800;
            }
            Ego.Index("dimensions");
            Console.ReadLine();
        }
Ejemplo n.º 2
0
 public static void Buff(Persona Ego)
 {
     Console.WriteLine("Inform the buff.");
     Σ.notoo = Console.ReadLine();
     if (β.Buff(Σ.notoo) != null)
     {
         if (Ego.RepertoireB.ContainsKey(Σ.notoo))
         {
             if (Ego.RepertoireB[Σ.notoo] != "E")
             {
                 Console.WriteLine("Inform the target.");
                 Σ.noton = Console.ReadLine();
             }
             else
             {
                 Σ.noton = "E";
             }
         }
         else
         {
             Console.WriteLine("You do not have that buff yet.");
         }
     }
     else
     {
         Console.WriteLine("That buff does not exist.");
     }
     Mechanicae.Laevo(Ego, β.Buff(Σ.notoo));
 }
Ejemplo n.º 3
0
        public static void Mensura(Persona Ego)
        {
            Σ.rector = Console.ReadLine().ToLower();

            if (Σ.rector == "roll")
            {
                Ego.Altitudo      = 50 + Mechanicae.Volvere(10, 7);
                Ego.Latitudo      = 40 + Mechanicae.Volvere(10, 2);
                Ego.Crassitudo[1] = 35 + Mechanicae.Volvere(10);
                Ego.Crassitudo[0] = Math.Round((Ego.Latitudo / 100) * Ego.Crassitudo[1], 2);
                Ego.Carnatio      = Math.Round(Ego.Altitudo * Ego.Latitudo * Ego.Crassitudo[0], 2);
                Ego.Pondus[0]     = Math.Round((Ego.Carnatio * 0.8) / 1000, 2);
                Ego.Spatium[0]    = Math.Round(Ego.Altitudo / 2);
                Ego.Spatium[1]    = Math.Round(Ego.Altitudo / 2);
                Ego.Planitia[0]   = Math.Round(Ego.Altitudo * Ego.Latitudo, 2);
                Ego.Planitia[1]   = Math.Round(Ego.Altitudo * Ego.Crassitudo[0], 2);
            }
            else
            {
                Ego.Altitudo      = 80;
                Ego.Latitudo      = 50;
                Ego.Crassitudo[1] = 40;
                Ego.Crassitudo[0] = 20;
                Ego.Carnatio      = 80 * 50 * 20;
                Ego.Pondus[0]     = 64;
                Ego.Spatium[0]    = 40;
                Ego.Spatium[1]    = 40;
                Ego.Planitia[0]   = 4000;
                Ego.Planitia[1]   = 1600;
            }
            Ego.Index("dimensions");
            Console.ReadLine();
        }
Ejemplo n.º 4
0
        public static void Cisterna(Persona Ego)
        {
            Σ.rector = Console.ReadLine().ToLower();

            if (Σ.rector == "roll")
            {
                Console.WriteLine("\nAs a human you have 40 base health and adds to it 1d4 for each CON point.");
                Ego.PV[0] = 40;
                for (int i = 0; i <= Ego.Conditio[0]; i++)
                {
                    Ego.PV[0] += Mechanicae.Volvere(4);
                    Console.ReadLine();
                }
                Console.WriteLine("\nAs a human you have 540 base mana and adds to it 1d20 for each INT point.");
                Ego.PM[0] = 540;
                for (int i = 0; i <= Ego.Intelligentia[0]; i++)
                {
                    Ego.PM[0] += Mechanicae.Volvere(20);
                    Console.ReadLine();
                }
            }
            else
            {
                Ego.PV[0] = Mechanicae.Volvere(4, Ego.Conditio[0]) + 40;
                Ego.PM[0] = Mechanicae.Volvere(20, Ego.Intelligentia[0]) + 540;
            }
            Ego.PV[1] = Ego.PV[0];
            Ego.PM[1] = Ego.PM[0];
            Console.WriteLine("\nPV: " + Ego.PV[0]);
            Console.WriteLine("MP: " + Ego.PM[0]);
            Console.ReadLine();
        }
Ejemplo n.º 5
0
        public static void Mensura(Persona Ego)
        {
            Σ.rector = Console.ReadLine().ToLower();

            if (Σ.rector == "roll")
            {
                Ego.Altitudo      = 120 + Mechanicae.Volvere(10, 10);
                Ego.Latitudo      = Math.Round((Ego.Altitudo / 100) * (25 + Mechanicae.Volvere(10)), 2);
                Ego.Crassitudo[1] = 5 + Mechanicae.Volvere(6);
                Ego.Crassitudo[0] = Math.Round((Ego.Altitudo / 100) * Ego.Crassitudo[1], 2);
                Ego.Carnatio      = Math.Round(Ego.Altitudo * Ego.Latitudo * Ego.Crassitudo[0], 2);
                Ego.Pondus[0]     = Math.Round((Ego.Carnatio * 0.6) / 1000, 2);
                Ego.Spatium[0]    = Math.Round(Ego.Altitudo / 2);
                Ego.Spatium[1]    = Math.Round(Ego.Altitudo / 2);
                Ego.Planitia[0]   = Math.Round(Ego.Altitudo * Ego.Latitudo, 2);
                Ego.Planitia[1]   = Math.Round(Ego.Altitudo * Ego.Crassitudo[0], 2);
            }
            else
            {
                Ego.Altitudo      = 170;
                Ego.Latitudo      = 50;
                Ego.Crassitudo[1] = 7;
                Ego.Crassitudo[0] = 12;
                Ego.Carnatio      = 170 * 50 * 12;
                Ego.Pondus[0]     = 61;
                Ego.Spatium[0]    = 85;
                Ego.Spatium[1]    = 85;
                Ego.Planitia[0]   = 8500;
                Ego.Planitia[1]   = 2040;
            }
            Ego.Index("dimensions");
            Console.ReadLine();
        }
Ejemplo n.º 6
0
Archivo: Orc.cs Proyecto: Bedengus/ULF
        public static void Cisterna(Persona Ego)
        {
            Σ.rector = Console.ReadLine().ToLower();

            if (Σ.rector == "roll")
            {
                Console.WriteLine("\nAs an orc you have 50 base health and adds to it 1d6 for each CON point.");
                Ego.PV[0] = 50;
                for (int i = 0; i <= Ego.Conditio[0]; i++)
                {
                    Ego.PV[0] += Mechanicae.Volvere(6);
                    Console.ReadLine();
                }
                Console.WriteLine("\nAs an orc you have 490 base mana and adds to it 2d8 for each INT point.");
                Ego.PM[0] = 490;
                for (int i = 0; i <= Ego.Intelligentia[0] * 2; i++)
                {
                    Ego.PM[0] += Mechanicae.Volvere(8);
                    Console.ReadLine();
                }
            }
            else
            {
                Ego.PV[0] = Mechanicae.Volvere(6, Ego.Conditio[0]) + 50;
                Ego.PM[0] = Mechanicae.Volvere(8, Ego.Intelligentia[0] * 2) + 490;
            }
            Ego.PV[1] = Ego.PV[0];
            Ego.PM[1] = Ego.PM[0];
            Console.WriteLine("\nPV: " + Ego.PV[0]);
            Console.WriteLine("MP: " + Ego.PM[0]);
            Console.ReadLine();
        }
Ejemplo n.º 7
0
 public static void Bellum(Persona Ego, bool yuno = false, params Persona[] hostis)
 {
     Mechanicae.Chronus(Ego, yuno, hostis);
     Mechanicae.Rapina(Ego, hostis);
     Ego.Tempus         = 0;
     Agrum.Centuria[0] += Agrum.Tempus;
     Agrum.Aeon();
     Agrum.Tempus = 0;
     Σ.rector     = "e";
 }
Ejemplo n.º 8
0
 public static void Thrust(Persona Ego)
 {
     Σ.dt = 2;
     Console.WriteLine("Inform the target.");
     Σ.notou = Console.ReadLine();
     Console.WriteLine("Inform how much Capacity to use.\nYou have " + Ego.Capacitas + " Capacity.\nLeave empty for full; insert '0' to use naught.");
     Σ.notod = Console.ReadLine();
     Mechanicae.PulsareJux(Ego, Ego.Arma, Primor.Hostis[Σ.notou], vis: String.IsNullOrEmpty(Σ.notod) ? -1 : Convert.ToInt32(Σ.notod));
     Console.WriteLine(Σ.notou + " has " + Primor.Hostis[Σ.notou].PV[1] + " out of " + Primor.Hostis[Σ.notou].PV[0] + ".");
 }
Ejemplo n.º 9
0
 public static void Sensus(Persona Ego, Persona hostis)
 {
     if (Ego.Spatium[1] >= Mechanicae.Calculus("hypod", Math.Abs(Ego.Lotus.X - hostis.Lotus.X), Math.Abs(Ego.Lotus.Y - hostis.Lotus.Y)))
     {
         Ego.verb = "Strike";
     }
     else
     {
         Ego.verb = "Step";
     }
 }
Ejemplo n.º 10
0
        public void Auctumnum(Persona Ego)
        {
            Console.WriteLine("Harvest how?");
            Σ.notou = Console.ReadLine();

            switch (Σ.notou)
            {
            case "Cut":
                do
                {
                    Console.WriteLine("Unto what?");
                    Σ.notod = Console.ReadLine();
                    for (int u = 0; u < this.praesto.Length; u++)
                    {
                        if (this.praesto[u] != null)
                        {
                            if (this.praesto[u] == Σ.notod)
                            {
                                if (Mechanicae.Conditio(Ego, ULF.Opes.Origo(this.praesto[u]).conditio))
                                {
                                    Ego.ArchAdd(ULF.Opes.Origo(this.praesto[u]).Auctumnum());
                                    Agrum.Centuria[0] += ULF.Opes.Origo(this.praesto[u]).chronus;
                                    Adventum.Verso(Ego);

                                    this.spawawn[u]  = ULF.Opes.Origo(this.praesto[u]).chronus *10;
                                    this.spawawnd[u] = Agrum.Centuria[9];

                                    this.praesto[u] = null;
                                }
                                else
                                {
                                    Console.WriteLine("As you heard somewhere the ressource is there, but you lack the skills to harvest it.");
                                }
                                break;
                            }
                        }
                    }
                    Console.WriteLine("Cut More?");
                    Σ.notod = Console.ReadLine();
                } while (Σ.notod.ToLower() == "y" || Σ.notod.ToLower() == "yes");
                break;

            case "Mine":
                //call
                break;

            default:
                Console.WriteLine("That action is, like, not even real.");
                break;
            }
        }
Ejemplo n.º 11
0
 public void Opes(Persona Ego)
 {
     Console.WriteLine("Amid the wilderness... ");
     for (int u = 0; u < this.praesto.Length; u++)
     {
         if (this.praesto[u] != null)
         {
             if (Mechanicae.Conditio(Ego, ULF.Opes.Origo(this.praesto[u]).conditio))
             {
                 Console.WriteLine("You recognize... " + ULF.Opes.Origo(this.praesto[u]).Depictium);
             }
         }
     }
     Console.WriteLine("\nAnd that is about it.");
     Agrum.Centuria[0] += 600;
     Adventum.Verso(Ego);
 }
Ejemplo n.º 12
0
 public static void Shoot(Persona Ego)
 {
     Console.WriteLine("Inform the target.");
     Σ.notou = Console.ReadLine();
     Console.WriteLine("Inform the missile type.");
     Σ.notod = Console.ReadLine();
     if (Ego.ArchTrac(Σ.notod) != null)
     {
         Ego.ArchTrac(Σ.notod).Quantitas--;
         Console.WriteLine("You have " + Ego.ArchTrac(Σ.notod).Quantitas + " " + Ego.ArchTrac(Σ.notod).Nomen + " left.");
         Mechanicae.PulsareLonge(Ego, Primor.Hostis[Σ.notou], Ego.Arma.DamnumT, Ego.ArchTrac(Σ.notod).Value, Ego.ArchTrac(Σ.notod).Pondus, 2);
         Console.WriteLine(Σ.notou + " has " + Primor.Hostis[Σ.notou].PV[1] + " out of " + Primor.Hostis[Σ.notou].PV[0] + ".");
     }
     else
     {
         Console.WriteLine("You cannot shoot with that.");
     }
 }
Ejemplo n.º 13
0
 public static void Strike(Persona Ego, bool yuno = false)
 {
     Σ.dt = 0;
     if (!yuno)
     {
         Console.WriteLine("\nInform the target.");
         Σ.notou = Console.ReadLine();
         Console.WriteLine("Inform how much Capacity to use.\nYou have " + Ego.Capacitas + " Capacity.\nLeave empty for full; insert '0' to use naught.");
         Σ.notod = Console.ReadLine();
         Mechanicae.PulsareJux(Ego, Ego.Arma, Primor.Hostis[Σ.notou], vis: String.IsNullOrEmpty(Σ.notod) ? -1 : Convert.ToInt32(Σ.notod));
         Console.WriteLine(Σ.notou + " has " + Primor.Hostis[Σ.notou].PV[1] + " out of " + Primor.Hostis[Σ.notou].PV[0] + ".");
     }
     else
     {
         Mechanicae.PulsareJux(Ego, Ego.Arma, Primor.h**o, yuno: true);
         Console.WriteLine(Primor.h**o.Cognomen + " has " + Primor.h**o.PV[1] + " out of " + Primor.h**o.PV[0] + ".");
     }
 }
Ejemplo n.º 14
0
        public void Utor(Persona Ego)
        {
            if (!Ego.Charta.ContainsKey(this.Nomen))
            {
                Ego.Charta.Add(this.Nomen, this.praesto);
            }
            do
            {
                this.Paridor();
                Ego.Charta[this.Nomen] = this.praesto;
                Console.WriteLine("\nYou are in " + Primor.h**o.Regio.Nomen + " at " + Agrum.Centuria[2] + ":" + Agrum.Centuria[1] + ":" + Agrum.Centuria[0] + ".\n");
                Σ.rector = Console.ReadLine().ToLower();

                switch (Σ.rector)
                {
                case "walk":
                    if (Mechanicae.Volvere(4) > 2)
                    {
                        do
                        {
                            Console.WriteLine("You have been ambushed by 'Bandit'!");
                            Adventum.Bellum(Ego, true, Primor.Hostis["Bandit"]);
                        } while (Σ.rector == "");
                    }
                    Agrum.Centuria[0] += 600;
                    Adventum.Verso(Ego);
                    break;

                case "doc":
                    Console.WriteLine(scriptum);
                    Console.ReadLine();
                    break;

                default:
                    Adventum.Generalis(Ego);
                    break;
                }
            } while (Σ.rector != "exit");
            Environment.Exit(0);
        }
Ejemplo n.º 15
0
 public static void NovaMensura(Persona Ego, int cel = 3)
 {
     if (cel >= 3)
     {
         Ego.Crassitudo[1] = 5 + Mechanicae.Volvere(6);
     }
     else if (cel == 2)
     {
         Ego.Crassitudo[1] = Math.Round((5 + Mechanicae.Volvere(6)) * 1.2);
     }
     else if (cel == 1)
     {
         Ego.Crassitudo[1] = Math.Round((5 + Mechanicae.Volvere(6)) * 1.5);
     }
     Ego.Crassitudo[0] = Math.Round((Ego.Altitudo / 100) * Ego.Crassitudo[1], 2);
     Ego.Carnatio      = Math.Round(Ego.Altitudo * Ego.Latitudo * Ego.Crassitudo[0], 2);
     Ego.Pondus[0]     = Math.Round((Ego.Carnatio * 0.6) / 1000, 2);
     Ego.Planitia[0]   = Math.Round(Ego.Altitudo * Ego.Latitudo, 2);
     Ego.Planitia[1]   = Math.Round(Ego.Altitudo * Ego.Crassitudo[0], 2);
     Ego.Index("dimensions");
     Console.ReadLine();
 }
Ejemplo n.º 16
0
Archivo: Orc.cs Proyecto: Bedengus/ULF
        public static void Apto(Persona Ego)
        {
            Console.WriteLine("\nDo you wish to 'increase' Strength by 2 points or 'reroll' it?");
            Σ.rector = Console.ReadLine().ToLower();

            if (Σ.rector == "reroll")
            {
                Console.WriteLine("\nYour current status is: " + Ego.Vigor[0]);
                Console.WriteLine("Do you wish for 'balanced' or 'wild'?");
                Σ.rector = Console.ReadLine().ToLower();
                if (Σ.rector == "balanced")
                {
                    Ego.Vigor[0] = Mechanicae.Volvere(4) + 10;
                }
                else
                {
                    Ego.Vigor[0] = Mechanicae.Volvere(20);
                }
            }
            else if (Σ.rector == "increase")
            {
                Ego.Vigor[0] += 2;
            }
            else
            {
                Console.WriteLine("\nYou skip your only natural advantage? Sadly that advantage is not Intellice...");
            }

            Console.WriteLine("\nChoose to 'increase' Constitution by 4 points at the price of minus 2 Wisdom and Intelligence OR 'reroll' Constitution for a Lower-Reroll at Wisdom and Intelligence.");
            Σ.rector = Console.ReadLine().ToLower();

            if (Σ.rector == "reroll")
            {
                Console.WriteLine("\nYour current CON is: " + Ego.Conditio[0]);
                Console.WriteLine("Your current INT is: " + Ego.Intelligentia[0]);
                Console.WriteLine("Your current WIS is: " + Ego.Sapientia[0]);
                Console.WriteLine("Do you wish for 'balanced' or 'wild'?");
                Σ.rector = Console.ReadLine().ToLower();
                if (Σ.rector == "balanced")
                {
                    Ego.Conditio[0] = Mechanicae.Volvere(4) + 10;
                    Σ.unus          = Mechanicae.Volvere(4) + 10;
                    if (Σ.unus < Ego.Intelligentia[0])
                    {
                        Ego.Intelligentia[0] = Σ.unus;
                    }
                    Σ.unus = Mechanicae.Volvere(4) + 10;
                    if (Σ.unus < Ego.Sapientia[0])
                    {
                        Ego.Sapientia[0] = Σ.unus;
                    }
                }
                else
                {
                    Ego.Conditio[0] = Mechanicae.Volvere(20);
                    Σ.unus          = Mechanicae.Volvere(20);
                    if (Σ.unus < Ego.Intelligentia[0])
                    {
                        Ego.Intelligentia[0] = Σ.unus;
                    }
                    Σ.unus = Mechanicae.Volvere(20);
                    if (Σ.unus < Ego.Sapientia[0])
                    {
                        Ego.Sapientia[0] = Σ.unus;
                    }
                }
            }
            else
            {
                Ego.Conditio[0]      += 4;
                Ego.Intelligentia[0] -= 2;
                Ego.Sapientia[0]     -= 2;
            }

            Console.WriteLine($"\n{Ego.Nomen} {Ego.Cognomen} you are a wild orc and the world has no positive expectations for you; and that reflect your puny statuses:");
            Ego.Index();
        }
Ejemplo n.º 17
0
        public static void Generalis(Persona Ego)
        {
            switch (Σ.rector)
            {
            case "look":
                Adventum.Verso(Ego);
                foreach (var u in Ego.Regio.Amplexus)
                {
                    if (Regio.Labor(u.Key).lumen <= Agrum.Centuria[8] && Regio.Labor(u.Key).nox >= Agrum.Centuria[8])
                    {
                        Console.WriteLine(u.Key);
                    }
                }
                break;

            case "go":
                Console.WriteLine("Whither?");
                Σ.rector = Console.ReadLine();
                if (Ego.Regio.Amplexus.ContainsKey(Σ.rector))
                {
                    if (Regio.Labor(Σ.rector).lumen <= Agrum.Centuria[8] && Regio.Labor(Σ.rector).nox >= Agrum.Centuria[8])
                    {
                        Ego.Regio.Iter(Σ.rector, Ego);
                    }
                    else
                    {
                        Console.WriteLine("That place is currently closed.");
                    }
                }
                else
                {
                    Console.WriteLine("That place does not exist or is not avaliable from here.");
                }
                break;

            case "save":
                Ego.Salvare();
                break;

            case "doc":
                Console.WriteLine(scriptum);
                Console.ReadLine();
                break;

            case "inventory":
                do
                {
                    Ego.ArchRec();
                    Console.WriteLine("Type to exit:");
                    Σ.rector = Console.ReadLine();
                } while (Σ.rector == "");
                break;

            case "sheet":
                Ego.Epistola();
                break;

            case "help":
                Console.WriteLine(aux);
                Console.ReadLine();
                break;

            case "data":
                Console.WriteLine("Day " + Agrum.Centuria[3] + " at " + Agrum.Centuria[2] + ":" + Agrum.Centuria[1] + ":" + Agrum.Centuria[0] + ".\n");
                break;

            case "pray":
                POG();
                break;


            case "roll4":
                Σ.rector = Console.ReadLine();
                Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                Mechanicae.Volvere(4, Σ.unus);
                Console.ReadLine();
                break;

            case "roll6":
                Σ.rector = Console.ReadLine();
                Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                Mechanicae.Volvere(6, Σ.unus);
                Console.ReadLine();
                break;

            case "roll8":
                Σ.rector = Console.ReadLine();
                Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                Mechanicae.Volvere(8, Σ.unus);
                Console.ReadLine();
                break;

            case "roll10":
                Σ.rector = Console.ReadLine();
                Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                Mechanicae.Volvere(10, Σ.unus);
                Console.ReadLine();
                break;

            case "roll12":
                Σ.rector = Console.ReadLine();
                Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                Mechanicae.Volvere(12, Σ.unus);
                Console.ReadLine();
                break;

            case "roll20":
                Σ.rector = Console.ReadLine();
                Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                Mechanicae.Volvere(20, Σ.unus);
                Console.ReadLine();
                break;

            case "roll100":
                Σ.rector = Console.ReadLine();
                Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                Mechanicae.Volvere(1000, Σ.unus);
                Console.ReadLine();
                break;

            case "roll%":
                Σ.rector = Console.ReadLine();
                Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                Mechanicae.Volvere(100, Σ.unus);
                Console.ReadLine();
                break;

            case "froll":
                Σ.rector = Console.ReadLine();
                Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                Mechanicae.LVolvere(Σ.unus);
                Console.ReadLine();
                break;


            case "mechanics":
                Mechanicae.Utor();
                break;

            case "aact":
                Actum(Ego);
                break;

            case "ashop":
                do
                {
                    Forum(Ego);
                } while (Σ.rector == "");
                break;

            case "abattle":
                Mechanicae.Chronus(Ego);
                break;

            case "tokinonagare":
                Σ.rector           = Console.ReadLine();
                Σ.unus             = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                Agrum.Centuria[0] += Σ.unus;
                Agrum.Aeon();
                Console.WriteLine("Day " + Agrum.Centuria[3] + " at " + Agrum.Centuria[2] + ":" + Agrum.Centuria[1] + ":" + Agrum.Centuria[0] + ".\n");
                Console.ReadLine();
                break;

            default:
                break;
            }
        }
Ejemplo n.º 18
0
        public static void Apto(Persona Ego)
        {
            Console.WriteLine("\nDo you wish to Choose-Reroll two statuses or increase +10 (to a maximum of 15) to a single one?");
            Console.WriteLine("Type 'reroll' or 'increase'");
            Σ.rector = Console.ReadLine().ToLower();

            if (Σ.rector == "reroll")
            {
                for (int i = 0; i < 2; i++)
                {
                    Console.WriteLine("\nChoose a status to reroll.");
                    Σ.notou = Console.ReadLine().ToLower();

                    switch (Σ.notou)
                    {
                    case "str":
                        Console.WriteLine("\nYour current status is: " + Ego.Vigor[0]);
                        Console.WriteLine("Do you wish for 'balanced' or 'wild'?");
                        Σ.rector = Console.ReadLine().ToLower();
                        if (Σ.rector == "balanced")
                        {
                            Σ.unus = Mechanicae.Volvere(4) + 10;
                            Console.WriteLine("\nThe balanced roll results in: " + Σ.unus);
                        }
                        else
                        {
                            Σ.unus = Mechanicae.Volvere(20);
                        }
                        break;

                    case "dex":
                        Console.WriteLine("\nYour current status is: " + Ego.Dexteritate[0]);
                        Console.WriteLine("Do you wish for 'balanced' or 'wild'?");
                        Σ.rector = Console.ReadLine().ToLower();
                        if (Σ.rector == "balanced")
                        {
                            Σ.unus = Mechanicae.Volvere(4) + 10;
                            Console.WriteLine("\nThe balanced roll results in: " + Σ.unus);
                        }
                        else
                        {
                            Σ.unus = Mechanicae.Volvere(20);
                        }
                        break;

                    case "con":
                        Console.WriteLine("\nYour current status is: " + Ego.Conditio[0]);
                        Console.WriteLine("Do you wish for 'balanced' or 'wild'?");
                        Σ.rector = Console.ReadLine().ToLower();
                        if (Σ.rector == "balanced")
                        {
                            Σ.unus = Mechanicae.Volvere(4) + 10;
                            Console.WriteLine("\nThe balanced roll results in: " + Σ.unus);
                        }
                        else
                        {
                            Σ.unus = Mechanicae.Volvere(20);
                        }
                        break;

                    case "int":
                        Console.WriteLine("\nYour current status is: " + Ego.Intelligentia[0]);
                        Console.WriteLine("Do you wish for 'balanced' or 'wild'?");
                        Σ.rector = Console.ReadLine().ToLower();
                        if (Σ.rector == "balanced")
                        {
                            Σ.unus = Mechanicae.Volvere(4) + 10;
                            Console.WriteLine("\nThe balanced roll results in: " + Σ.unus);
                        }
                        else
                        {
                            Σ.unus = Mechanicae.Volvere(20);
                        }
                        break;

                    case "wis":
                        Console.WriteLine("\nYour current status is: " + Ego.Sapientia[0]);
                        Console.WriteLine("Do you wish for 'balanced' or 'wild'?");
                        Σ.rector = Console.ReadLine().ToLower();
                        if (Σ.rector == "balanced")
                        {
                            Σ.unus = Mechanicae.Volvere(4) + 10;
                            Console.WriteLine("\nThe balanced roll results in: " + Σ.unus);
                        }
                        else
                        {
                            Σ.unus = Mechanicae.Volvere(20);
                        }
                        break;

                    default:
                        Console.WriteLine("\nYou throw the reroll away... Mad humans...");
                        Σ.notou = "los";
                        break;
                    }
                    if (Σ.notou != "los")
                    {
                        Console.WriteLine("\nDo you wish to keep the 'old' roll or the 'new' roll?");
                        Σ.rector = Console.ReadLine().ToLower();
                        if (Σ.rector == "new")
                        {
                            switch (Σ.notou)
                            {
                            case "str":
                                Ego.Vigor[0] = Σ.unus;
                                break;

                            case "dex":
                                Ego.Dexteritate[0] = Σ.unus;
                                break;

                            case "con":
                                Ego.Conditio[0] = Σ.unus;
                                break;

                            case "int":
                                Ego.Intelligentia[0] = Σ.unus;
                                break;

                            case "wis":
                                Ego.Sapientia[0] = Σ.unus;
                                break;

                            default:
                                Console.WriteLine("\nYou throw the reroll away... Mad humans...");
                                break;
                            }
                        }
                        else
                        {
                            Console.WriteLine("\nYou keep your old status.");
                        }
                    }
                }
            }
            else if (Σ.rector == "increase")
            {
                Console.WriteLine("\nChoose a status to increase; any point over 15 will be lost.");
                Ego.Index();
                Σ.rector = Console.ReadLine().ToLower();

                switch (Σ.rector)
                {
                case "str":
                    if ((Ego.Vigor[0] + 10) > 15)
                    {
                        Ego.Vigor[0] = 15;
                    }
                    else
                    {
                        Ego.Vigor[0] += 10;
                    }
                    break;

                case "dex":
                    if ((Ego.Dexteritate[0] + 10) > 15)
                    {
                        Ego.Dexteritate[0] = 15;
                    }
                    else
                    {
                        Ego.Dexteritate[0] += 10;
                    }
                    break;

                case "con":
                    if ((Ego.Conditio[0] + 10) > 15)
                    {
                        Ego.Conditio[0] = 15;
                    }
                    else
                    {
                        Ego.Conditio[0] += 10;
                    }
                    break;

                case "int":
                    if ((Ego.Intelligentia[0] + 10) > 15)
                    {
                        Ego.Intelligentia[0] = 15;
                    }
                    else
                    {
                        Ego.Intelligentia[0] += 10;
                    }
                    break;

                case "wis":
                    if ((Ego.Sapientia[0] + 10) > 15)
                    {
                        Ego.Sapientia[0] = 15;
                    }
                    else
                    {
                        Ego.Sapientia[0] += 10;
                    }
                    break;

                default:
                    Console.WriteLine("\nSad day.");
                    break;
                }
            }
            else
            {
                Console.WriteLine("\nVery human like, such haste and disregard. You may never recover this opportunity of youth.");
            }
            Console.WriteLine($"\n{Ego.Nomen} {Ego.Cognomen} you are a determined human; and with your puny statuses you will make something out of yourself:");
            Ego.Index();
        }
Ejemplo n.º 19
0
        public static void Utor(Persona Ego)
        {
            do
            {
                Console.WriteLine(intro);
                Σ.rector = Console.ReadLine().ToLower();

                switch (Σ.rector)
                {
                case "save":
                    Ego.Salvare();
                    break;

                case "doc":
                    Console.WriteLine(scriptum);
                    Console.ReadLine();
                    break;

                case "mechanics":
                    Mechanicae.Utor();
                    break;

                case "act":
                    Actum(Ego);
                    break;

                case "inventory":
                    do
                    {
                        Ego.ArchRec();
                        Console.WriteLine("Type to exit:");
                        Σ.rector = Console.ReadLine();
                    } while (Σ.rector == "");
                    break;

                case "shop":
                    do
                    {
                        Forum(Ego);
                    } while (Σ.rector == "");
                    break;

                case "battle":
                    Mechanicae.Chronus(Ego);
                    break;

                case "help":
                    Console.WriteLine(aux);
                    Console.ReadLine();
                    break;

                case "roll4":
                    Σ.rector = Console.ReadLine();
                    Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                    Mechanicae.Volvere(4, Σ.unus);
                    Console.ReadLine();
                    break;

                case "roll6":
                    Σ.rector = Console.ReadLine();
                    Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                    Mechanicae.Volvere(6, Σ.unus);
                    Console.ReadLine();
                    break;

                case "roll8":
                    Σ.rector = Console.ReadLine();
                    Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                    Mechanicae.Volvere(8, Σ.unus);
                    Console.ReadLine();
                    break;

                case "roll10":
                    Σ.rector = Console.ReadLine();
                    Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                    Mechanicae.Volvere(10, Σ.unus);
                    Console.ReadLine();
                    break;

                case "roll12":
                    Σ.rector = Console.ReadLine();
                    Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                    Mechanicae.Volvere(12, Σ.unus);
                    Console.ReadLine();
                    break;

                case "roll20":
                    Σ.rector = Console.ReadLine();
                    Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                    Mechanicae.Volvere(20, Σ.unus);
                    Console.ReadLine();
                    break;

                case "roll100":
                    Σ.rector = Console.ReadLine();
                    Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                    Mechanicae.Volvere(1000, Σ.unus);
                    Console.ReadLine();
                    break;

                case "roll%":
                    Σ.rector = Console.ReadLine();
                    Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                    Mechanicae.Volvere(100, Σ.unus);
                    Console.ReadLine();
                    break;

                case "froll":
                    Σ.rector = Console.ReadLine();
                    Σ.unus   = String.IsNullOrEmpty(Σ.rector) ? 1 : Convert.ToInt32(Σ.rector);
                    Mechanicae.LVolvere(Σ.unus);
                    Console.ReadLine();
                    break;

                default:
                    break;
                }
            } while(Σ.rector != "exit");
            // Environment.Exit(0);
        }
Ejemplo n.º 20
0
        public static void Apto(Persona Ego)
        {
            Console.WriteLine("\nDo you wish to Choose-Reroll either STR or INT or to increase one by 3 points?");
            Console.WriteLine("Type 'reroll' or 'increase'");
            Σ.rector = Console.ReadLine().ToLower();

            if (Σ.rector == "reroll")
            {
                Console.WriteLine("\nYour current STR is: " + Ego.Vigor[0]);
                Console.WriteLine("Your current INT is: " + Ego.Intelligentia[0]);
                Console.WriteLine("Choose either 'int' or 'str'.");
                Σ.rector = Console.ReadLine().ToLower();

                if (Σ.rector == "int")
                {
                    Console.WriteLine("Do you wish for 'balanced' or 'wild'?");
                    Σ.rector = Console.ReadLine().ToLower();
                    if (Σ.rector == "balanced")
                    {
                        Σ.unus = Mechanicae.Volvere(4) + 10;
                        Console.WriteLine("\nThe balanced roll results in: " + Σ.unus);
                        Console.WriteLine("\nDo you wish to keep the 'old' roll or the 'new' roll?");
                        Σ.rector = Console.ReadLine().ToLower();
                        if (Σ.rector == "new")
                        {
                            Ego.Intelligentia[0] = Σ.unus;
                        }
                        else
                        {
                            Console.WriteLine("\nYou keep your old status.");
                        }
                    }
                    else
                    {
                        Σ.unus = Mechanicae.Volvere(20);
                        Console.WriteLine("\nDo you wish to keep the 'old' roll or the 'new' roll?");
                        Σ.rector = Console.ReadLine().ToLower();
                        if (Σ.rector == "new")
                        {
                            Ego.Intelligentia[0] = Σ.unus;
                        }
                        else
                        {
                            Console.WriteLine("\nYou keep your old status.");
                        }
                    }
                }
                else if (Σ.rector == "str")
                {
                    Console.WriteLine("Do you wish for 'balanced' or 'wild'?");
                    Σ.rector = Console.ReadLine().ToLower();
                    if (Σ.rector == "balanced")
                    {
                        Σ.unus = Mechanicae.Volvere(4) + 10;
                        Console.WriteLine("\nThe balanced roll results in: " + Σ.unus);
                        Console.WriteLine("\nDo you wish to keep the 'old' roll or the 'new' roll?");
                        Σ.rector = Console.ReadLine().ToLower();
                        if (Σ.rector == "new")
                        {
                            Ego.Vigor[0] = Σ.unus;
                        }
                        else
                        {
                            Console.WriteLine("\nYou keep your old status.");
                        }
                    }
                    else
                    {
                        Σ.unus = Mechanicae.Volvere(20);
                        Console.WriteLine("\nDo you wish to keep the 'old' roll or the 'new' roll?");
                        Σ.rector = Console.ReadLine().ToLower();
                        if (Σ.rector == "new")
                        {
                            Ego.Vigor[0] = Σ.unus;
                        }
                        else
                        {
                            Console.WriteLine("\nYou keep your old status.");
                        }
                    }
                }
                else
                {
                    Ego.Vigor[0] = Mechanicae.Volvere(20);
                }
            }
            else if (Σ.rector == "increase")
            {
                Console.WriteLine("\nYour current STR is: " + Ego.Vigor[0]);
                Console.WriteLine("Your current INT is: " + Ego.Intelligentia[0]);
                Console.WriteLine("Choose either 'int' or 'str'.");
                Σ.rector = Console.ReadLine().ToLower();

                if (Σ.rector == "int")
                {
                    Ego.Intelligentia[0] += 3;
                }
                else
                {
                    Ego.Vigor[0] += 3;
                }
            }
            else
            {
                Ego.Vigor[0] += 3;
            }

            Console.WriteLine("\nDo you wish to 'increase' Constitution by 3 points or 'reroll' it?");
            Σ.rector = Console.ReadLine().ToLower();
            if (Σ.rector == "reroll")
            {
                Console.WriteLine("Do you wish for 'balanced' or 'wild'?");
                Σ.rector = Console.ReadLine().ToLower();
                if (Σ.rector == "balanced")
                {
                    Ego.Conditio[0] = Mechanicae.Volvere(4) + 10;
                }
                else
                {
                    Ego.Conditio[0] = Mechanicae.Volvere(20);
                }
            }
            else
            {
                Ego.Conditio[0] += 3;
            }
            Console.WriteLine($"\n{Ego.Nomen} {Ego.Cognomen} you are a broad barril-like dwarf; seek out the wide world and see how puny your statuses gained by restless mining are:");
            Ego.Index();
        }
Ejemplo n.º 21
0
Archivo: Elf.cs Proyecto: Bedengus/ULF
        public static void Apto(Persona Ego)
        {
            Console.WriteLine("\nDo you wish to 'increase' either INT or DEX or WIS by 4 points, if less than nineteen, or Choose-Reroll a 1d20 at each?");
            Console.WriteLine("Type 'reroll' or 'increase'");
            Σ.rector = Console.ReadLine().ToLower();

            if (Σ.rector == "reroll")
            {
                Console.WriteLine("\nYour current WIS is: " + Ego.Sapientia[0]);
                Console.WriteLine("Your current INT is: " + Ego.Intelligentia[0]);
                Console.WriteLine("Your current DEX is: " + Ego.Dexteritate[0]);

                Σ.unus = Mechanicae.Volvere(20);

                Console.WriteLine("\nDo you wish to keep the 'old' roll or the 'new' roll for Wisdom?");
                Σ.rector = Console.ReadLine().ToLower();
                if (Σ.rector == "new")
                {
                    Ego.Sapientia[0] = Σ.unus;
                }
                else
                {
                    Console.WriteLine("\nYou keep your old Wisdom.");
                }

                Σ.unus = Mechanicae.Volvere(20);

                Console.WriteLine("\nDo you wish to keep the 'old' roll or the 'new' roll for Intelligence?");
                Σ.rector = Console.ReadLine().ToLower();
                if (Σ.rector == "new")
                {
                    Ego.Intelligentia[0] = Σ.unus;
                }
                else
                {
                    Console.WriteLine("\nYou keep your old Intelligence.");
                }

                Σ.unus = Mechanicae.Volvere(20);

                Console.WriteLine("\nDo you wish to keep the 'old' roll or the 'new' roll for Dexterity?");
                Σ.rector = Console.ReadLine().ToLower();
                if (Σ.rector == "new")
                {
                    Ego.Dexteritate[0] = Σ.unus;
                }
                else
                {
                    Console.WriteLine("\nYou keep your old Dexterity.");
                }
            }
            else if (Σ.rector == "increase")
            {
                Console.WriteLine("\nYour current WIS is: " + Ego.Sapientia[0]);
                Console.WriteLine("Your current INT is: " + Ego.Intelligentia[0]);
                Console.WriteLine("Your current DEX is: " + Ego.Dexteritate[0]);
                Console.WriteLine("Which do you wish to increment by 4?");
                Σ.rector = Console.ReadLine().ToLower();

                if (Σ.rector == "dex" && Ego.Dexteritate[0] < 19)
                {
                    Ego.Dexteritate[0] += 4;
                }
                else if (Σ.rector == "int" && Ego.Intelligentia[0] < 19)
                {
                    Ego.Intelligentia[0] += 4;
                }
                else if (Σ.rector == "wis" && Ego.Sapientia[0] < 19)
                {
                    Ego.Sapientia[0] += 4;
                }
                else
                {
                    Console.WriteLine("\nYou make an academic mistake and suddenly your life sucks!");
                }
            }
            else
            {
                Ego.Dexteritate[0] += 4;
            }
            Console.WriteLine($"\n{Ego.Nomen} {Ego.Cognomen} kisama ha ririshii erufu de aru; and with your elitism you think the world will be an easy win:");
            Ego.Index();
        }
Ejemplo n.º 22
0
        public static void Apto(Persona Ego)
        {
            Console.WriteLine("\nDo you wish to 'increase' STR by 2 points or Higher-Reroll it?");
            Console.WriteLine("Type 'reroll' or 'increase'");
            Σ.rector = Console.ReadLine().ToLower();

            if (Σ.rector == "reroll")
            {
                Console.WriteLine("Do you wish for 'balanced' or 'wild'?");
                Σ.rector = Console.ReadLine().ToLower();
                if (Σ.rector == "balanced")
                {
                    Σ.unus = Mechanicae.Volvere(4) + 10;
                    if (Σ.unus > Ego.Vigor[0])
                    {
                        Ego.Vigor[0] = Σ.unus;
                    }
                    else
                    {
                    }
                }
                else
                {
                    Σ.unus = Mechanicae.Volvere(20);
                    if (Σ.unus > Ego.Vigor[0])
                    {
                        Ego.Vigor[0] = Σ.unus;
                    }
                    else
                    {
                    }
                }
            }
            else
            {
                Ego.Vigor[0] += 2;
            }
            Console.WriteLine("\nDo you wish to 'increase' either CON or DEX by 3 points or Higher-Reroll one?");
            Console.WriteLine("Type 'reroll' or 'increase'");
            Σ.rector = Console.ReadLine().ToLower();

            if (Σ.rector == "reroll")
            {
                Console.WriteLine("\nYour current CON is: " + Ego.Conditio[0]);
                Console.WriteLine("Your current DEX is: " + Ego.Dexteritate[0]);
                Console.WriteLine("Which do you wish to Higher-Reroll?");
                Σ.rector = Console.ReadLine().ToLower();

                if (Σ.rector == "con")
                {
                    Console.WriteLine("Do you wish for 'balanced' or 'wild'?");
                    Σ.rector = Console.ReadLine().ToLower();
                    if (Σ.rector == "balanced")
                    {
                        Σ.unus = Mechanicae.Volvere(4) + 10;
                        if (Σ.unus > Ego.Conditio[0])
                        {
                            Ego.Conditio[0] = Σ.unus;
                        }
                        else
                        {
                        }
                    }
                    else
                    {
                        Σ.unus = Mechanicae.Volvere(20);
                        if (Σ.unus > Ego.Conditio[0])
                        {
                            Ego.Conditio[0] = Σ.unus;
                        }
                        else
                        {
                        }
                    }
                }
                else if (Σ.rector == "dex")
                {
                    Console.WriteLine("Do you wish for 'balanced' or 'wild'?");
                    Σ.rector = Console.ReadLine().ToLower();
                    if (Σ.rector == "balanced")
                    {
                        Σ.unus = Mechanicae.Volvere(4) + 10;
                        if (Σ.unus > Ego.Dexteritate[0])
                        {
                            Ego.Dexteritate[0] = Σ.unus;
                        }
                        else
                        {
                        }
                    }
                    else
                    {
                        Σ.unus = Mechanicae.Volvere(20);
                        if (Σ.unus > Ego.Dexteritate[0])
                        {
                            Ego.Dexteritate[0] = Σ.unus;
                        }
                        else
                        {
                        }
                    }
                }
                else
                {
                    Console.WriteLine("\nYou are an useless fat dog with neither athletics nor stamina.");
                }
            }
            else
            {
                Console.WriteLine("\nYour current CON is: " + Ego.Conditio[0]);
                Console.WriteLine("Your current DEX is: " + Ego.Dexteritate[0]);
                Console.WriteLine("Which do you wish to increase by 3?");
                Σ.rector = Console.ReadLine().ToLower();

                if (Σ.rector == "con")
                {
                    Ego.Conditio[0] += 3;
                }
                else if (Σ.rector == "dex")
                {
                    Ego.Dexteritate[0] += 3;
                }
                else
                {
                    Console.WriteLine("\nYou are an useless fat dog with neither athletics nor stamina.");
                }
            }
            Console.WriteLine($"\n{Ego.Nomen} {Ego.Cognomen} you are a wild beast of the proud werewolf race who has taken on the world since you were born; show what your natural statuses can do:");
            Ego.Index();
        }
Ejemplo n.º 23
0
        public void Discare(Persona Ego)
        {
            if (this.type == "Mage")
            {
                Console.WriteLine("Welcome to the " + this.Nomen + " of Emerald Village.");
                Console.WriteLine("We have courses availables for:");
                for (int u = 0; u < this.praesto.Length; u++)
                {
                    Console.WriteLine("Buff: " + this.praesto[u]);
                }
                Console.WriteLine("\nWhat would you like to learn?");
                Σ.rector = Console.ReadLine();

                if (Array.Exists(this.praesto, u => u == Σ.rector))
                {
                    Console.WriteLine("\n" + β.Buff(Σ.rector).Nomen);
                    foreach (var u in β.Buff(Σ.rector).Difficultas)
                    {
                        Console.WriteLine("Difficulty: " + u.Value + " " + u.Key);
                    }
                    int hor = β.Buff(Σ.rector).hora / 3600;
                    Console.WriteLine("Time: " + hor + "h" +
                                      "\nCost: " + β.Buff(Σ.rector).Pretium);

                    Console.WriteLine("\nWould you like to train it?");
                    Σ.notou = Console.ReadLine();
                    if (Σ.notou == "y" || Σ.notou == "yes")
                    {
                        if (Ego.RepertoireB.ContainsKey(Σ.rector))
                        {
                            Console.WriteLine("\nYou have already learnt that, man!");
                        }
                        else if (β.Buff(Σ.rector).requiritare != "" && !Ego.RepertoireB.ContainsKey(β.Buff(Σ.rector).requiritare))
                        {
                            Console.WriteLine("\nYour incapable self is devoid of the minimal " + β.Buff(Σ.rector).requiritare + ".");
                        }
                        else
                        {
                            Console.WriteLine("\nFor how long?");
                            Σ.notou = Console.ReadLine();
                            Σ.unus  = String.IsNullOrEmpty(Σ.notou) ? 0 : Convert.ToInt32(Σ.notou);
                            if (hor == β.Buff(Σ.rector).discunt[0])
                            {
                                Σ.unus = 1;
                            }
                            else if (Σ.unus + β.Buff(Σ.rector).discunt[0] > hor)
                            {
                                Σ.unus = hor - β.Buff(Σ.rector).discunt[0];
                            }
                            if (Ego.Credits >= β.Buff(Σ.rector).Pretium *Σ.unus)
                            {
                                Agrum.Centuria[2] += Σ.unus;
                                Adventum.Verso(Ego);
                                Ego.Credits -= β.Buff(Σ.rector).Pretium *Σ.unus;
                                Console.WriteLine("You have: " + Ego.Credits);
                                Console.WriteLine("It is " + Agrum.Centuria[2] + ":" + Agrum.Centuria[1] + ":" + Agrum.Centuria[0] + ".\n");
                                β.Buff(Σ.rector).discunt[0] += Σ.unus;
                                if (β.Buff(Σ.rector).discunt[0] > hor)
                                {
                                    β.Buff(Σ.rector).discunt[0] = hor;
                                }
                                if (β.Buff(Σ.rector).discunt[1] < 1)
                                {
                                    β.Buff(Σ.rector).discunt[1] = 1;
                                }
                                Petitio(Ego);
                                Σ.num[1] = Mechanicae.Volvere(100, nomen: Ego.Cognomen);
                                Console.WriteLine(Ego.Cognomen + " rolls " + Σ.num[1] + " against " + Σ.num[0] + ".");
                                if (Σ.num[1] > Σ.num[0])
                                {
                                    Ego.AddicioB(β.Buff(Σ.rector).Nomen, "E");
                                }
                                else
                                {
                                    Console.WriteLine("\nYou have not truly grasped the way of the spell.");
                                    if (β.Buff(Σ.rector).discunt[0] == hor)
                                    {
                                        β.Buff(Σ.rector).discunt[1] += 1;
                                        Console.WriteLine("But you feel closer to mastering it!");
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
Ejemplo n.º 24
0
 public static void Cast(Persona Ego)
 {
     Mechanicae.Spargo(Ego.Mana.Spargo(Σ.noton, Ego), Ego, Primor.Hostis[Σ.notoo], Σ.decem);
     Console.WriteLine(Σ.notoo + " has " + Primor.Hostis[Σ.notoo].PV[1] + " out of " + Primor.Hostis[Σ.notoo].PV[0] + " Points de Vie.");
     Console.WriteLine("You have " + Ego.PM[1] + " out of " + Ego.PM[0] + " Points de Mana.");
 }
Ejemplo n.º 25
0
        public static void Step(Persona Ego, bool yuno = false)
        {
            double dis = 0;
            string dir = "";

            if (!yuno)
            {
                Console.WriteLine("\nHow long?");
                Σ.rector = Console.ReadLine();
                dis      = String.IsNullOrEmpty(Σ.rector) ? 50 : Convert.ToInt32(Σ.rector);
                if (dis > 50)
                {
                    dis = 50;
                }
                else if (dis < 1)
                {
                    dis = 1;
                }

                Console.WriteLine("Whither?");
                dir = Console.ReadLine();
            }
            else
            {
                dis = 50;
                if (Primor.h**o.Lotus.Y > Ego.Lotus.Y && Primor.h**o.Lotus.X > Ego.Lotus.X)
                {
                    dir = "ne";
                }
                else if (Primor.h**o.Lotus.Y > Ego.Lotus.Y && Primor.h**o.Lotus.X < Ego.Lotus.X)
                {
                    dir = "nw";
                }
                else if (Primor.h**o.Lotus.Y < Ego.Lotus.Y && Primor.h**o.Lotus.X > Ego.Lotus.X)
                {
                    dir = "se";
                }
                else if (Primor.h**o.Lotus.Y < Ego.Lotus.Y && Primor.h**o.Lotus.X < Ego.Lotus.X)
                {
                    dir = "sw";
                }
                else if (Primor.h**o.Lotus.Y > Ego.Lotus.Y)
                {
                    dir = "n";
                }
                else if (Primor.h**o.Lotus.X > Ego.Lotus.X)
                {
                    dir = "w";
                }
                else if (Primor.h**o.Lotus.Y < Ego.Lotus.Y)
                {
                    dir = "s";
                }
                else if (Primor.h**o.Lotus.X < Ego.Lotus.X)
                {
                    dir = "e";
                }
            }

            if (dir == "n" || dir == "north")
            {
                Mechanicae.Momentum(Ego, y: dis);
            }
            else if (dir == "w" || dir == "west")
            {
                Mechanicae.Momentum(Ego, x: -dis);
            }
            else if (dir == "s" || dir == "south")
            {
                Mechanicae.Momentum(Ego, y: -dis);
            }
            else if (dir == "e" || dir == "east")
            {
                Mechanicae.Momentum(Ego, x: dis);
            }
            else
            {
                dis = Mechanicae.Calculus("hypo", dis);
            }

            if (dir == "nw" || dir == "northwest")
            {
                Mechanicae.Momentum(Ego, dis, -dis);
            }
            else if (dir == "sw" || dir == "southwest")
            {
                Mechanicae.Momentum(Ego, -dis, -dis);
            }
            else if (dir == "se" || dir == "southeast")
            {
                Mechanicae.Momentum(Ego, -dis, +dis);
            }
            else if (dir == "ne" || dir == "northeast")
            {
                Mechanicae.Momentum(Ego, dis, dis);
            }
        }