summaryrefslogtreecommitdiff
path: root/Towers/Components/FrostComponent.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-11-03 14:10:07 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-11-03 14:10:07 +0100
commit84365b6f901a9c0251a9f724a8d9f81a3787e97d (patch)
tree401e2bf99e6573d1d069f5044e7448067cdfb384 /Towers/Components/FrostComponent.gd
parenta43499efa6c228cea3633f9661f3ff09127bd82d (diff)
next commit
Diffstat (limited to 'Towers/Components/FrostComponent.gd')
-rw-r--r--Towers/Components/FrostComponent.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/Towers/Components/FrostComponent.gd b/Towers/Components/FrostComponent.gd
index d6384a7..473baf6 100644
--- a/Towers/Components/FrostComponent.gd
+++ b/Towers/Components/FrostComponent.gd
@@ -8,4 +8,5 @@ func _init() -> void:
func on_shoot(target: Unit):
var effect = preload("res://Effects/SlowEffect.tscn").instantiate()
+ effect.level = level
target.add_effect(effect)