the-crypt/magic/Projectiles/PhantomProjectile.gd
2020-07-23 14:43:42 -05:00

17 lines
223 B
GDScript

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