From e79dcbc353494d34c23b7fe76d5de955adfc6a5b Mon Sep 17 00:00:00 2001 From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com> Date: Sun, 11 Feb 2024 12:29:45 -0500 Subject: [PATCH] Encounter update --- Neoa/Encounters.cs | 2 +- Neoa/Program.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Neoa/Encounters.cs b/Neoa/Encounters.cs index 6d92592..b80e0c3 100644 --- a/Neoa/Encounters.cs +++ b/Neoa/Encounters.cs @@ -67,7 +67,7 @@ public static void Combat(bool random, string name, int power, int health, int m Program.DisplayLine($"Health: {player.health}"); Program.DisplayLine($"Mana: {player.mana}"); string input = Console.ReadLine(); - if (input.ToLower() == "a" && player.Class != mage && input == "attack") + if (input.ToLower() == "a" && player.Class != "mage" && input == "attack") { Program.DisplayLine(""); Program.DisplayLine(""); diff --git a/Neoa/Program.cs b/Neoa/Program.cs index d7c0150..24b2c71 100644 --- a/Neoa/Program.cs +++ b/Neoa/Program.cs @@ -231,7 +231,7 @@ public static void Death() DisplayLine("The realm of the dead claims your soul."); DisplayLine("Info"); - DisplayLine($"Name: {player.name}"); + DisplayLine($"Name: {player.Name}"); DisplayLine($"Species: {player.Species}/{player.Subspecies}"); DisplayLine($"Ethnicity: {player.Ethnicity}"); DisplayLine($"Ancestor: {player.Ancestor}");