the-crypt/magic/Projectiles/PhantomProjectile.gd
2020-07-21 15:02:07 -05:00

15 lines
201 B
GDScript

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