Skip to content

Commit

Permalink
Code fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
DELUXEHUNTER authored Feb 11, 2024
1 parent 3e9b9ae commit 0dc056b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Neoa/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ public class Player

//Unique stats & Player systems


public static if (Program.Player.Species == "Human")
public static Stats()
{
if (Program.Player.Species == "Human")
{
Program.Player.Health = 105;
Program.Player.Mana = 125;
Expand All @@ -52,7 +53,7 @@ public class Player
}


public static if (Program.Player.Species == "Undead")
if (Program.Player.Species == "Undead")
{
if(Program.Player.Subspecies == "Vampire")
{
Expand Down Expand Up @@ -101,7 +102,7 @@ public class Player
}


public static if (Program.Player.Species == "Demonic")
if (Program.Player.Species == "Demonic")
{
if(Program.Player.Subspecies == "Demon")
{
Expand All @@ -116,6 +117,7 @@ public class Player

}
}
}
}


Expand Down

0 comments on commit 0dc056b

Please sign in to comment.