Browse Source

refactoring: change guard's hit points value

master
Yazan Alaamer 2 years ago
parent
commit
458c5f218f
  1. 2
      src/main/java/game/StartDarkSoulsGame.java

2
src/main/java/game/StartDarkSoulsGame.java

@ -176,7 +176,7 @@ public class StartDarkSoulsGame {
+ "It's corrosive, like acid. \n You got a demon, little man.\n "
+ "Guard fought back with sowrd of ashina "
+ "\n(you recieve 3 damage) ");
playerHP = playerHP -3;
playerHP = playerHP - 5;
if (playerHP == 0) {
lose();
}

Loading…
Cancel
Save