survivors: fixing enemies not being able to spawn projectiles due to missing speed

This commit is contained in:
Sheldan
2025-08-22 00:29:47 +02:00
parent 7b8745d7d2
commit dbf34061f0

View File

@@ -123,7 +123,7 @@ export class ShootingEnemy extends BasicEnemy implements Shooting {
}
createProjectile() {
let stats = new ProjectileStats(0, 1, 5)
let stats = new ProjectileStats(0, 1, 5, 2)
let projectile = StraightProjectile.createStraightProjectile(this.world, this._position, this.world.player.position, this, stats)
this.projectiles.push(projectile)
return projectile