Fine tuning
This commit is contained in:
@ -82,7 +82,7 @@ func _on_timer_timeout() -> void:
|
||||
for i in get_node("CharacterBody2D/Area2D").get_overlapping_bodies():
|
||||
for j in NAMES:
|
||||
if i.get_parent().name.contains(j):
|
||||
minus += 1
|
||||
minus += 0.3
|
||||
|
||||
health -= minus
|
||||
get_node("CharacterBody2D/ProgressBar").value = health
|
||||
|
||||
Reference in New Issue
Block a user