diff --git a/.DS_Store b/.DS_Store index d08fa97..2eec86e 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/src/.DS_Store b/src/.DS_Store index 3813d60..1b2366c 100644 Binary files a/src/.DS_Store and b/src/.DS_Store differ diff --git a/src/classes/Cat.js b/src/classes/Cat.js index e84cf33..e0a86f3 100644 --- a/src/classes/Cat.js +++ b/src/classes/Cat.js @@ -250,7 +250,8 @@ export class SleepyCat extends Cat { if (this.wakeStart != undefined) { if (!this.hasAttacked && this.targetMouse && millis() - this.wakeStart > 900) { - this.targetMouse.attacked(150); + const explode = { point: 150 }; + this.targetMouse.attacked(explode); if (this.targetMouse && this.targetMouse.HP > 0) this.targetMouse.sprite.changeAni('walk'); this.hasAttacked = true; }