Skip to content
Snippets Groups Projects
Commit 2adae089 authored by Paolo.Brasolin's avatar Paolo.Brasolin
Browse files

feat: #fe damage proportional to health

parent 0b1dcab3
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ class Foe { ...@@ -59,7 +59,7 @@ class Foe {
this.clue.delete(); this.clue.delete();
this.critter.escape(); this.critter.escape();
this.scene.player.hitFlash(); this.scene.player.hitFlash();
this.scene.updateHealth(-10); this.scene.updateHealth(-this.beWord.ocr_transcript.length);
} }
async handleSuccess() { async handleSuccess() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment