mirror of
https://github.com/Sheldan/canvas.git
synced 2026-01-05 00:03:26 +00:00
survivors: fixing enemies not being able to spawn projectiles due to missing speed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user