Shield wave
This commit is contained in:
parent
a1e0c3f8a7
commit
0eecd651e4
14 changed files with 341 additions and 13 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue