public static void Main()
Console.WriteLine ("El personaje tiene escudo?");
shield = Console.ReadLine();
Console.WriteLine("Cantidad ataque");
attack = float.Parse (Console.ReadLine());
Console.WriteLine(AttackDamage (hasShield, attack));
static float AttackDamage (bool hasShield, float attackPower)
damage = attackPower / 10;