From 539fd4820f37aa54df8878091db9680d89ee027a Mon Sep 17 00:00:00 2001 From: Matheus Date: Sat, 13 Sep 2025 11:06:46 -0300 Subject: pergaminho --- assets/definitions/Items/mana_bolt_scroll.tres | 14 ++++++++++++++ assets/definitions/spells/little_damage.tres | 8 ++++++++ assets/definitions/spells/mana_bolt.tres | 14 ++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 assets/definitions/Items/mana_bolt_scroll.tres create mode 100644 assets/definitions/spells/little_damage.tres create mode 100644 assets/definitions/spells/mana_bolt.tres (limited to 'assets/definitions') 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" -- cgit v1.2.3