Animation fix and some more tests
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user