Skip to content

Commit

Permalink
Encounter update
Browse files Browse the repository at this point in the history
  • Loading branch information
DELUXEHUNTER authored Feb 11, 2024
1 parent ef16074 commit e79dcbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Neoa/Encounters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static void Combat(bool random, string name, int power, int health, int m
Program.DisplayLine($"Health: {player.health}");

Check failure on line 67 in Neoa/Encounters.cs

View workflow job for this annotation

GitHub Actions / build

The name 'player' does not exist in the current context
Program.DisplayLine($"Mana: {player.mana}");

Check failure on line 68 in Neoa/Encounters.cs

View workflow job for this annotation

GitHub Actions / build

The name 'player' does not exist in the current context
string input = Console.ReadLine();
if (input.ToLower() == "a" && player.Class != mage && input == "attack")
if (input.ToLower() == "a" && player.Class != "mage" && input == "attack")

Check failure on line 70 in Neoa/Encounters.cs

View workflow job for this annotation

GitHub Actions / build

The name 'player' does not exist in the current context
{
Program.DisplayLine("");
Program.DisplayLine("");
Expand Down
2 changes: 1 addition & 1 deletion Neoa/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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}");
Expand Down

0 comments on commit e79dcbc

Please sign in to comment.