From 1e17a31e3eeed8ccf76982534002513cee6593f1 Mon Sep 17 00:00:00 2001 From: Matheus Date: Sun, 14 Sep 2025 10:41:08 -0300 Subject: Magicas --- assets/definitions/Items/mana_bolt_grimoire.tres | 14 ++++++++++++++ assets/definitions/spells/mana_bolt.tres | 4 +++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 assets/definitions/Items/mana_bolt_grimoire.tres (limited to 'assets/definitions') diff --git a/assets/definitions/Items/mana_bolt_grimoire.tres b/assets/definitions/Items/mana_bolt_grimoire.tres new file mode 100644 index 0000000..b134ea1 --- /dev/null +++ b/assets/definitions/Items/mana_bolt_grimoire.tres @@ -0,0 +1,14 @@ +[gd_resource type="Resource" script_class="GrimoireConsumableDefinition" load_steps=4 format=3 uid="uid://coeyeuyren2vi"] + +[ext_resource type="Resource" uid="uid://boi8svlb0e8l" path="res://assets/definitions/spells/mana_bolt.tres" id="1_dnjm5"] +[ext_resource type="Script" uid="uid://blkth0in1fp74" path="res://scripts/Entities/Items/GrimoireConsumableDefinition.cs" id="1_tv46f"] +[ext_resource type="Texture2D" uid="uid://lgxlsnp626j8" path="res://assets/sprites/items/grimoire.png" id="3_degcq"] + +[resource] +script = ExtResource("1_tv46f") +Spell = ExtResource("1_dnjm5") +name = "Grimório de flecha de mana." +texture = ExtResource("3_degcq") +Type = 1 +blocksMovement = false +metadata/_custom_type_script = "uid://blkth0in1fp74" diff --git a/assets/definitions/spells/mana_bolt.tres b/assets/definitions/spells/mana_bolt.tres index da209fb..13a2329 100644 --- a/assets/definitions/spells/mana_bolt.tres +++ b/assets/definitions/spells/mana_bolt.tres @@ -1,11 +1,13 @@ -[gd_resource type="Resource" script_class="SpellResource" load_steps=4 format=3 uid="uid://boi8svlb0e8l"] +[gd_resource type="Resource" script_class="SpellResource" load_steps=5 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"] +[ext_resource type="Texture2D" uid="uid://c16x1hbiqkulw" path="res://assets/sprites/spells/mana_bolt.png" id="3_yltt7"] [resource] script = ExtResource("2_uq8o1") +Icon = ExtResource("3_yltt7") SpellName = "Flecha de mana" Cost = 8 Type = 0 -- cgit v1.2.3