summaryrefslogtreecommitdiff
path: root/Towers/Components/BurnComponent.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/BurnComponent.gd
parenta43499efa6c228cea3633f9661f3ff09127bd82d (diff)
next commit
Diffstat (limited to 'Towers/Components/BurnComponent.gd')
-rw-r--r--Towers/Components/BurnComponent.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/Towers/Components/BurnComponent.gd b/Towers/Components/BurnComponent.gd
index 11e9e3f..96c24f7 100644
--- a/Towers/Components/BurnComponent.gd
+++ b/Towers/Components/BurnComponent.gd
@@ -8,4 +8,5 @@ func _init() -> void:
func on_shoot(target: Unit):
var effect = preload("res://Effects/BurnEffect.tscn").instantiate()
+ effect.level = level
target.add_effect(effect)