summaryrefslogtreecommitdiff
path: root/assets/definitions
diff options
context:
space:
mode:
Diffstat (limited to 'assets/definitions')
-rw-r--r--assets/definitions/Items/small_cure.tres19
-rw-r--r--assets/definitions/actor/Player.tres2
-rw-r--r--assets/definitions/spells/small_cure.tres19
3 files changed, 39 insertions, 1 deletions
diff --git a/assets/definitions/Items/small_cure.tres b/assets/definitions/Items/small_cure.tres
new file mode 100644
index 0000000..a9daaf5
--- /dev/null
+++ b/assets/definitions/Items/small_cure.tres
@@ -0,0 +1,19 @@
+[gd_resource type="Resource" script_class="ItemResource" load_steps=6 format=3 uid="uid://c2ih2qf8c4rso"]
+
+[ext_resource type="Script" uid="uid://bjheqia3q1u7m" path="res://scripts/Entities/Items/GrimoireItemActivation.cs" id="1_1lv8a"]
+[ext_resource type="Script" uid="uid://bybli1lduvm3n" path="res://scripts/Entities/Items/ItemResource.cs" id="1_rna1l"]
+[ext_resource type="Resource" uid="uid://c5uviqcb4ai8" path="res://assets/definitions/spells/small_cure.tres" id="2_6n7k0"]
+[ext_resource type="Texture2D" uid="uid://lgxlsnp626j8" path="res://assets/sprites/items/grimoire.png" id="3_wfig5"]
+
+[sub_resource type="Resource" id="Resource_tcd4j"]
+script = ExtResource("1_1lv8a")
+spell = ExtResource("2_6n7k0")
+metadata/_custom_type_script = "uid://bjheqia3q1u7m"
+
+[resource]
+script = ExtResource("1_rna1l")
+DisplayName = "grimoario cura pequena"
+Icon = ExtResource("3_wfig5")
+Description = "cura pequena"
+Activation = SubResource("Resource_tcd4j")
+metadata/_custom_type_script = "uid://bybli1lduvm3n"
diff --git a/assets/definitions/actor/Player.tres b/assets/definitions/actor/Player.tres
index 8a4e2c1..58062c3 100644
--- a/assets/definitions/actor/Player.tres
+++ b/assets/definitions/actor/Player.tres
@@ -11,7 +11,7 @@ deathTexture = ExtResource("1_m72ac")
Hp = 36
Mp = 12
Atk = 8
-Def = 10
+Def = 3
Men = 3
name = "Jogador"
texture = ExtResource("3_m72ac")
diff --git a/assets/definitions/spells/small_cure.tres b/assets/definitions/spells/small_cure.tres
new file mode 100644
index 0000000..cd4cca1
--- /dev/null
+++ b/assets/definitions/spells/small_cure.tres
@@ -0,0 +1,19 @@
+[gd_resource type="Resource" script_class="SpellResource" load_steps=5 format=3 uid="uid://c5uviqcb4ai8"]
+
+[ext_resource type="Script" uid="uid://bslt4pbvwvsj1" path="res://scripts/Magic/HealEffect.cs" id="1_6vhk7"]
+[ext_resource type="Script" uid="uid://bi6jdrduu76de" path="res://scripts/Magic/SpellResource.cs" id="1_bmdi4"]
+[ext_resource type="Texture2D" uid="uid://b38owm0e2mdf6" path="res://assets/sprites/spells/preview.png" id="2_dgyrn"]
+
+[sub_resource type="Resource" id="Resource_yfnw8"]
+script = ExtResource("1_6vhk7")
+Healing = 4
+metadata/_custom_type_script = "uid://bslt4pbvwvsj1"
+
+[resource]
+script = ExtResource("1_bmdi4")
+Icon = ExtResource("2_dgyrn")
+SpellName = "Small cure"
+Cost = 10
+Type = 1
+Effects = Array[Object]([SubResource("Resource_yfnw8")])
+metadata/_custom_type_script = "uid://bi6jdrduu76de"