Пример #1
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] + ".");
 }
Пример #2
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] + ".");
     }
 }