extends TowerComponent func _init() -> void: type = ComponentType.Frost set_sprite(preload("res://Towers/Components/Assets/frost-component.png")) func on_shoot(target: Unit): var effect = preload("res://Effects/SlowEffect.tscn").instantiate() effect.level = level target.add_effect(effect)