fix: remove godmode check

This commit is contained in:
Renge 2022-05-09 15:46:38 -04:00
parent 805d0af3b8
commit 71edf55370
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ export default class BullAI extends EnemyAI {
collideWithPlayer(player: PlayerController): void { collideWithPlayer(player: PlayerController): void {
player.damage(10); player.damage(10);
if (this.isAttacking && !player.invincible && !player.godMode) { if (this.isAttacking && !player.invincible) {
player.bleedCounter += 3; player.bleedCounter += 3;
} }
} }

View File

@ -23,7 +23,7 @@ export default class TigerAI extends EnemyAI {
collideWithPlayer(player: PlayerController): void { collideWithPlayer(player: PlayerController): void {
player.damage(10); player.damage(10);
if (this.isAttacking && !player.invincible && !player.godMode) { if (this.isAttacking && !player.invincible) {
player.bleedCounter += 3; player.bleedCounter += 3;
} }
} }