explosive car; dash no longer stuns or gives extra fire rate
This commit is contained in:
parent
d0bfe8d1be
commit
5a7c93a573
7 changed files with 309 additions and 7 deletions
|
|
@ -3,6 +3,8 @@ extends Area3D
|
|||
func _on_collision(node: Node3D):
|
||||
if node.has_method("hit"):
|
||||
node.hit(self, INF)
|
||||
if node.has_method("damage"):
|
||||
node.damage(self)
|
||||
|
||||
func _ready() -> void:
|
||||
body_entered.connect(_on_collision)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue