20 lines
602 B
Plaintext
20 lines
602 B
Plaintext
[gd_resource type="Resource" script_class="EffectDefinition" load_steps=3 format=3]
|
|
|
|
[ext_resource type="Script" path="res://resources/effects/effect_definition.gd" id="1"]
|
|
[ext_resource type="Script" path="res://resources/effects/stat_modifier.gd" id="2"]
|
|
|
|
[sub_resource type="Resource" id="Resource_slow_move"]
|
|
script = ExtResource("2")
|
|
stat = &"move_speed"
|
|
operation = "multiply"
|
|
value = 0.5
|
|
|
|
[resource]
|
|
script = ExtResource("1")
|
|
id = &"effect_slow"
|
|
display_name = "Slow"
|
|
duration_type = &"seconds"
|
|
duration = 2.0
|
|
max_stacks = 1
|
|
stat_modifiers = Array[Resource]([SubResource("Resource_slow_move")])
|