Skip to content

Commit

Permalink
Battle adjustments for final
Browse files Browse the repository at this point in the history
  • Loading branch information
eea88 committed Jul 18, 2024
1 parent 04012b8 commit cbeb13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enemy.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class Enemy {
this.attack * diceThrowAttacker >
soldier.defense * diceThrowDefender
) {
soldier.receivesDamage(this.strength + diceThrowAttacker);
soldier.receivesDamage(this.strength);
this.stamina -= 10;
soldier.stamina -= 10;
console.log("Orc hit you!");
Expand Down

0 comments on commit cbeb13b

Please sign in to comment.