weaken tornado spawned by fireball perk to 33% damage

main
Artur David 2026-06-23 23:33:04 +02:00
parent dd4fcbdf2c
commit d5aca6bdf4
1 changed files with 1 additions and 0 deletions

View File

@ -27,5 +27,6 @@ func _spawn_explosion() -> void:
func _spawn_tornado() -> void: func _spawn_tornado() -> void:
var tw = tornado_scene.instantiate() var tw = tornado_scene.instantiate()
tw.global_position = global_position tw.global_position = global_position
tw.explosion_damage = int(round(tw.explosion_damage * 0.33))
get_parent().call_deferred("add_child", tw) get_parent().call_deferred("add_child", tw)