the-crypt/magic/Projectiles/PhantomProjectile.gd
2020-07-20 16:36:28 -05:00

14 lines
183 B
GDScript

extends Projectile
var ignore = []
func _ready():
energy_cost = 3
damage = 1
func _on_body_entered(body):
if body.get("health") != null:
body.health -= damage * damage_mod