1 parent 3e9ae19 commit 469928cCopy full SHA for 469928c
1 file changed
docs/how-to/apply_damage.md
@@ -26,7 +26,7 @@ extends AttributeBuff
26
27
@export var damage: float = 1.0
28
29
-func _ready(_damage: float):
+func _init(_damage: float):
30
attribute_name = HealthAttribute.ATTRIBUTE_NAME
31
damage = _damage
32
operation = AttributeOperation.sub(damage)
0 commit comments