summaryrefslogtreecommitdiff
path: root/assets/definitions
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-09-13 11:06:46 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-09-13 11:06:46 -0300
commit539fd4820f37aa54df8878091db9680d89ee027a (patch)
tree41f9f5d6aa123058e3549c1baba4155fa5a85279 /assets/definitions
parentb8962990ddb75b874a49c83d8eeaba7b7e45c196 (diff)
pergaminho
Diffstat (limited to 'assets/definitions')
-rw-r--r--assets/definitions/Items/mana_bolt_scroll.tres14
-rw-r--r--assets/definitions/spells/little_damage.tres8
-rw-r--r--assets/definitions/spells/mana_bolt.tres14
3 files changed, 36 insertions, 0 deletions
diff --git a/assets/definitions/Items/mana_bolt_scroll.tres b/assets/definitions/Items/mana_bolt_scroll.tres
new file mode 100644
index 0000000..0812d4d
--- /dev/null
+++ b/assets/definitions/Items/mana_bolt_scroll.tres
@@ -0,0 +1,14 @@
+[gd_resource type="Resource" script_class="ScrollConsumableDefinition" load_steps=4 format=3 uid="uid://xbjfp7d6qoyj"]
+
+[ext_resource type="Resource" uid="uid://boi8svlb0e8l" path="res://assets/definitions/spells/mana_bolt.tres" id="1_eaxr2"]
+[ext_resource type="Script" uid="uid://2lk5w2po81gy" path="res://scripts/Entities/Items/ScrollConsumableDefinition.cs" id="1_jtnuc"]
+[ext_resource type="Texture2D" uid="uid://dwky8qc2y602k" path="res://assets/sprites/actors/player.png" id="3_si3hv"]
+
+[resource]
+script = ExtResource("1_jtnuc")
+Spell = ExtResource("1_eaxr2")
+name = "Pergaminho de flecha de mana"
+texture = ExtResource("3_si3hv")
+Type = 1
+blocksMovement = false
+metadata/_custom_type_script = "uid://2lk5w2po81gy"
diff --git a/assets/definitions/spells/little_damage.tres b/assets/definitions/spells/little_damage.tres
new file mode 100644
index 0000000..0c5436d
--- /dev/null
+++ b/assets/definitions/spells/little_damage.tres
@@ -0,0 +1,8 @@
+[gd_resource type="Resource" script_class="DamageEffect" load_steps=2 format=3 uid="uid://2121t34hbxck"]
+
+[ext_resource type="Script" uid="uid://cmgtdh2kdo1rq" path="res://scripts/Magic/DamageEffect.cs" id="1_rnhwa"]
+
+[resource]
+script = ExtResource("1_rnhwa")
+Damage = 5
+metadata/_custom_type_script = "uid://cmgtdh2kdo1rq"
diff --git a/assets/definitions/spells/mana_bolt.tres b/assets/definitions/spells/mana_bolt.tres
new file mode 100644
index 0000000..da209fb
--- /dev/null
+++ b/assets/definitions/spells/mana_bolt.tres
@@ -0,0 +1,14 @@
+[gd_resource type="Resource" script_class="SpellResource" load_steps=4 format=3 uid="uid://boi8svlb0e8l"]
+
+[ext_resource type="Script" uid="uid://brhihikhjtc6e" path="res://scripts/Magic/SpellEffect.cs" id="1_ux3o7"]
+[ext_resource type="Script" uid="uid://bi6jdrduu76de" path="res://scripts/Magic/SpellResource.cs" id="2_uq8o1"]
+[ext_resource type="Resource" uid="uid://2121t34hbxck" path="res://assets/definitions/spells/little_damage.tres" id="2_yltt7"]
+
+[resource]
+script = ExtResource("2_uq8o1")
+SpellName = "Flecha de mana"
+Cost = 8
+Type = 0
+Range = 7
+Effects = Array[ExtResource("1_ux3o7")]([ExtResource("2_yltt7")])
+metadata/_custom_type_script = "uid://bi6jdrduu76de"