fix: remove godmode check
This commit is contained in:
parent
805d0af3b8
commit
71edf55370
|
@ -18,7 +18,7 @@ export default class BullAI extends EnemyAI {
|
|||
|
||||
collideWithPlayer(player: PlayerController): void {
|
||||
player.damage(10);
|
||||
if (this.isAttacking && !player.invincible && !player.godMode) {
|
||||
if (this.isAttacking && !player.invincible) {
|
||||
player.bleedCounter += 3;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ export default class TigerAI extends EnemyAI {
|
|||
|
||||
collideWithPlayer(player: PlayerController): void {
|
||||
player.damage(10);
|
||||
if (this.isAttacking && !player.invincible && !player.godMode) {
|
||||
if (this.isAttacking && !player.invincible) {
|
||||
player.bleedCounter += 3;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user