Added state component

This commit is contained in:
2024-02-15 13:45:17 +01:00
parent 17a507d07c
commit 37ed8890ec
19 changed files with 172 additions and 86 deletions

View File

@ -1,6 +1,6 @@
extends SkillInstance
extends AreaSkillInstance
func _ready():
play_animation("human/slash", 0.8, 1.7)
await melee_damage(0.5)
queue_free()
animation.play("human/slash", 1.7)
await area_damage(0.5, 0.1, 0.2)
end()