Animation fix and some more tests

This commit is contained in:
2025-04-29 12:04:48 +02:00
parent 08479e83c1
commit fc4285e99d
7 changed files with 81 additions and 64 deletions

View File

@ -40,7 +40,8 @@ func target_reached() -> void:
if name.contains("Arrow"): #special effects here!
if randf() < 0.1:
target.get_parent().set_speed(target.get_parent().get_speed() / 2)
pass
target.get_parent().adjust_speed_of_animation()
pass
if name.contains("Magic"):
if randf() < 0.5:
target.get_parent().set_progress(max(target.get_parent().get_progress() - 60, 0))