Molik now damages in its radius
This commit is contained in:
parent
11eb875d2e
commit
ac6c4c433f
1 changed files with 1 additions and 2 deletions
|
|
@ -11,8 +11,7 @@ func _ready() -> void:
|
||||||
|
|
||||||
func damage():
|
func damage():
|
||||||
for target in damage_targets:
|
for target in damage_targets:
|
||||||
if target.is_on_floor():
|
target.take_damage(int(dps*damage_timer.wait_time))
|
||||||
target.take_damage(int(dps*damage_timer.wait_time))
|
|
||||||
|
|
||||||
func on_body_entered(body: Node3D):
|
func on_body_entered(body: Node3D):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue