Update stuff
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=47 format=3 uid="uid://bt5rolsyjmx55"]
|
||||
[gd_scene load_steps=48 format=3 uid="uid://bt5rolsyjmx55"]
|
||||
|
||||
[ext_resource type="Script" path="res://Enemies/Scripts/MeleeEnemy.cs" id="1_50och"]
|
||||
[ext_resource type="PackedScene" uid="uid://b1j0g6ikmnibm" path="res://Enemies/HPComponent.tscn" id="2_1leby"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_1nq5h"]
|
||||
size = Vector3(0.579358, 2.18762, 0.423598)
|
||||
@@ -1173,12 +1174,13 @@ _data = {
|
||||
"Animation": SubResource("Animation_xyhqi")
|
||||
}
|
||||
|
||||
[node name="Melee Enemy" type="CharacterBody3D" groups=["Enemy"]]
|
||||
[node name="Melee Enemy" type="CharacterBody3D" node_paths=PackedStringArray("_hp") groups=["Enemy"]]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.251952, 0)
|
||||
collision_layer = 0
|
||||
collision_mask = 5
|
||||
axis_lock_angular_x = true
|
||||
script = ExtResource("1_50och")
|
||||
_hp = NodePath("HP Component")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0840461, 0.475385, 0.143401)
|
||||
@@ -1242,3 +1244,6 @@ transform = Transform3D(0.404405, 0, 0, 0, 0.404405, 0, 0, 0, 0.404405, 0.069068
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_ivhl3")
|
||||
}
|
||||
|
||||
[node name="HP Component" parent="." instance=ExtResource("2_1leby")]
|
||||
MaximumHP = 1
|
||||
|
||||
Reference in New Issue
Block a user