Shield wave

This commit is contained in:
R34nd0 2024-01-14 03:01:58 +05:00
commit 0eecd651e4
14 changed files with 341 additions and 13 deletions

View file

@ -37,7 +37,7 @@ func _on_collision(body):
if body.faction != faction:
if target != self:
target.queue_free()
body.shield.deal_damage(damage)
body.shield.deal_damage(damage,global_position)
queue_free()
2:
if target != self: