Bug fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=59 format=3 uid="uid://dahp73fwld24h"]
|
||||
[gd_scene load_steps=61 format=3 uid="uid://dahp73fwld24h"]
|
||||
|
||||
[ext_resource type="Script" path="res://Enemies/Scripts/RangedEnemy.cs" id="1_01lvj"]
|
||||
[ext_resource type="PackedScene" uid="uid://rlxnnw4yay7e" path="res://Enemies/Attacks/EnemyBullet.tscn" id="3_qenx3"]
|
||||
@@ -891,10 +891,19 @@ _surfaces = [{
|
||||
blend_shape_mode = 0
|
||||
shadow_mesh = SubResource("ArrayMesh_j7wsk")
|
||||
|
||||
[sub_resource type="Animation" id="Animation_201mc"]
|
||||
resource_name = "OnHit"
|
||||
length = 0.2
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_f1x7o"]
|
||||
_data = {
|
||||
"OnHit": SubResource("Animation_201mc")
|
||||
}
|
||||
|
||||
[node name="CharacterBody" type="CharacterBody3D" node_paths=PackedStringArray("_hp") groups=["Enemy"]]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.257979, 0)
|
||||
collision_layer = 0
|
||||
collision_mask = 9
|
||||
collision_mask = 5
|
||||
script = ExtResource("1_01lvj")
|
||||
_hp = NodePath("HP Component")
|
||||
|
||||
@@ -1059,4 +1068,9 @@ skeleton = NodePath("")
|
||||
[node name="HP Component" parent="." instance=ExtResource("4_1vt55")]
|
||||
MaximumHP = 2
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_f1x7o")
|
||||
}
|
||||
|
||||
[connection signal="timeout" from="Timer" to="Timer" method="OnFireAtPlayer"]
|
||||
|
||||
Reference in New Issue
Block a user