Update PlayerController.ts

This commit is contained in:
OfficialCHenry 2022-04-12 00:08:48 -04:00
parent cc34842dee
commit a2aecb2584

View File

@ -72,6 +72,7 @@ export default class PlayerController extends StateMachineAI implements BattlerA
// TODO -
damage(damage: number): void {
(<AnimatedSprite>this.owner).animation.play("HURT", false);
this.CURRENT_HP -= damage;
}