From 6c7e2ac133986efa57b43df52a5498c6f7efcf75 Mon Sep 17 00:00:00 2001 From: Matheus Date: Tue, 26 Aug 2025 22:59:57 -0300 Subject: AI --- assets/definitions/actor/Player.tres | 5 +++++ assets/definitions/actor/Skeleton.tres | 12 +++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) (limited to 'assets/definitions/actor') 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" -- cgit v1.2.3