Added state component
This commit is contained in:
6
client/skill/dash/dash.gd
Normal file
6
client/skill/dash/dash.gd
Normal file
@ -0,0 +1,6 @@
|
||||
extends SkillInstance
|
||||
|
||||
func _ready():
|
||||
animation.play("human/roll")
|
||||
await get_tree().create_timer(1.0).timeout
|
||||
end()
|
11
client/skill/dash/dash.tres
Normal file
11
client/skill/dash/dash.tres
Normal file
@ -0,0 +1,11 @@
|
||||
[gd_resource type="Resource" script_class="Skill" load_steps=3 format=3 uid="uid://cnusbw23jf672"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://1u5qbxotvgo4" path="res://skill/dash/dash.tscn" id="1_0n3i4"]
|
||||
[ext_resource type="Script" path="res://skill/Skill.gd" id="2_2m415"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_2m415")
|
||||
id = "dash"
|
||||
name = "Dash"
|
||||
cooldown = 0.0
|
||||
scene = ExtResource("1_0n3i4")
|
6
client/skill/dash/dash.tscn
Normal file
6
client/skill/dash/dash.tscn
Normal file
@ -0,0 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://1u5qbxotvgo4"]
|
||||
|
||||
[ext_resource type="Script" path="res://skill/dash/dash.gd" id="1_rxa7a"]
|
||||
|
||||
[node name="Dash" type="Node"]
|
||||
script = ExtResource("1_rxa7a")
|
Reference in New Issue
Block a user