10 lines
120 B
GDScript3
10 lines
120 B
GDScript3
|
extends Projectile
|
||
|
|
||
|
|
||
|
var ignore = []
|
||
|
|
||
|
func _on_body_entered(body):
|
||
|
if body.get("health") != null:
|
||
|
body.health -= 1
|
||
|
|