|
@ -177,6 +177,9 @@ public class StartDarkSoulsGame { |
|
|
+ "Guard fought back with sowrd of ashina " |
|
|
+ "Guard fought back with sowrd of ashina " |
|
|
+ "\n(you recieve 3 damage) "); |
|
|
+ "\n(you recieve 3 damage) "); |
|
|
playerHP = playerHP -3; |
|
|
playerHP = playerHP -3; |
|
|
|
|
|
if (playerHP == 0) { |
|
|
|
|
|
lose(); |
|
|
|
|
|
} |
|
|
hpLabelNumber.setText(""+ playerHP); |
|
|
hpLabelNumber.setText(""+ playerHP); |
|
|
choice1.setText(">"); |
|
|
choice1.setText(">"); |
|
|
choice2.setText(""); |
|
|
choice2.setText(""); |
|
|