diff --git a/src/ability.js b/src/ability.js index 019ab92..fa07eab 100644 --- a/src/ability.js +++ b/src/ability.js @@ -37,11 +37,8 @@ export default class Ability { effect: function straightShotEffect(caster, cursor) { const ability = this const straightShotCollision = function straightShotCollision(projectile, collidingEntity) { - if (!projectile.memory.hit) { - collidingEntity.damage(ability.damage) - projectile.memory.hit = true - projectile.destination = collidingEntity.position.clone() - } + collidingEntity.damage(ability.damage) + projectile.despawn() } const projectile = new Projectile({