From c9a983dac58154ca95856632f963dfaf2fa4e0be Mon Sep 17 00:00:00 2001 From: Renge Date: Mon, 9 May 2022 15:50:27 -0400 Subject: [PATCH] fix: tiger velocity --- src/shattered_sword/AI/EnemyStates/TigerAttack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shattered_sword/AI/EnemyStates/TigerAttack.ts b/src/shattered_sword/AI/EnemyStates/TigerAttack.ts index 2e378cb..0988e08 100644 --- a/src/shattered_sword/AI/EnemyStates/TigerAttack.ts +++ b/src/shattered_sword/AI/EnemyStates/TigerAttack.ts @@ -24,7 +24,7 @@ export default class TigerAttack extends Attack { this.parent.isCharging = false; this.parent.isAttacking = true; (this.owner).animation.play("ATTACK", true); - this.velocity = (this.parent.getPlayerPosition().x - this.owner.position.x)/1.5; + this.velocity = (this.parent.getPlayerPosition().x - this.owner.position.x); this.parent.direction = this.velocity >= 0 ? 1 : -1; this.parent.velocity.y = -800; break;