blob: 11e9e3f2f95c7b56cc5b656731b5e6828c5ae87a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
extends TowerComponent
func _init() -> void:
name = "Burn"
set_sprite(preload("res://Towers/Components/Assets/burn-component.png"))
func on_shoot(target: Unit):
var effect = preload("res://Effects/BurnEffect.tscn").instantiate()
target.add_effect(effect)
|