summaryrefslogtreecommitdiff
path: root/assets/definitions/actor
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-08-26 22:59:57 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-08-26 22:59:57 -0300
commit6c7e2ac133986efa57b43df52a5498c6f7efcf75 (patch)
tree8404bfd3415a8dfcf7073191cbfdf58cc7c905ed /assets/definitions/actor
parenta3103718796a472da76838bf6fd72ba5d8409d79 (diff)
AI
Diffstat (limited to 'assets/definitions/actor')
-rw-r--r--assets/definitions/actor/Player.tres5
-rw-r--r--assets/definitions/actor/Skeleton.tres12
2 files changed, 14 insertions, 3 deletions
diff --git a/assets/definitions/actor/Player.tres b/assets/definitions/actor/Player.tres
index 798bfde..e1c0bd6 100644
--- a/assets/definitions/actor/Player.tres
+++ b/assets/definitions/actor/Player.tres
@@ -8,4 +8,9 @@ script = ExtResource("1_2k33r")
name = "Jogador"
texture = ExtResource("2_2xyvf")
blocksMovement = true
+Hp = 12
+Mp = 12
+Atk = 6
+Def = 2
+Men = 3
metadata/_custom_type_script = "uid://crxw1e37xlrrt"
diff --git a/assets/definitions/actor/Skeleton.tres b/assets/definitions/actor/Skeleton.tres
index be38337..6bc66f5 100644
--- a/assets/definitions/actor/Skeleton.tres
+++ b/assets/definitions/actor/Skeleton.tres
@@ -1,11 +1,17 @@
-[gd_resource type="Resource" script_class="ActorDefinition" load_steps=3 format=3 uid="uid://bphsl6o2nsb8x"]
+[gd_resource type="Resource" script_class="EnemyDefinition" load_steps=3 format=3 uid="uid://gt6xqa737dyt"]
-[ext_resource type="Script" uid="uid://crxw1e37xlrrt" path="res://scripts/actors/ActorDefinition.cs" id="1_m5x88"]
+[ext_resource type="Script" uid="uid://dkfdm2m2scyks" path="res://scripts/actors/EnemyDefinition.cs" id="1_m5x88"]
[ext_resource type="Texture2D" uid="uid://dh5sgjdwkps88" path="res://assets/sprites/skeleton.png" id="2_hhidw"]
[resource]
script = ExtResource("1_m5x88")
+AI = 1
name = "Eis que leto"
texture = ExtResource("2_hhidw")
blocksMovement = true
-metadata/_custom_type_script = "uid://crxw1e37xlrrt"
+Hp = 12
+Mp = 2
+Atk = 3
+Def = 2
+Men = 2
+metadata/_custom_type_script = "uid://dkfdm2m2scyks"