Aloe, wallnut and spikeweed balance
This commit is contained in:
parent
040d419a27
commit
afd9e990f1
3 changed files with 9 additions and 9 deletions
|
|
@ -3,7 +3,7 @@
|
|||
[ext_resource type="PackedScene" uid="uid://b1hjjbdwf1rtc" path="res://scenes/templates/plant_template.tscn" id="1_n25yi"]
|
||||
[ext_resource type="Texture2D" uid="uid://b6tyoa5htapir" path="res://assets/sprites/atlases/plants/aloe.png" id="2_iup5p"]
|
||||
[ext_resource type="AnimationLibrary" uid="uid://bgutjc3ruq27s" path="res://resources/animations/plants/aloe.res" id="3_3sp3b"]
|
||||
[ext_resource type="Script" path="res://scripts/components/plants/behaviours/AloeBehaviour.cs" id="4_55asm"]
|
||||
[ext_resource type="Script" uid="uid://cljytsmqac0w7" path="res://scripts/components/plants/behaviours/AloeBehaviour.cs" id="4_55asm"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vknky"]
|
||||
length = 0.001
|
||||
|
|
@ -34,7 +34,7 @@ tracks/1/keys = {
|
|||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_wlien"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_vknky")
|
||||
&"RESET": SubResource("Animation_vknky")
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_c25ew"]
|
||||
|
|
@ -84,7 +84,6 @@ graph_offset = Vector2(-78.082, -71.7578)
|
|||
size = Vector2(22, 32)
|
||||
|
||||
[node name="Aloe" instance=ExtResource("1_n25yi")]
|
||||
_maxHP = 100
|
||||
|
||||
[node name="Sprite2D" parent="." index="0"]
|
||||
position = Vector2(9, -14)
|
||||
|
|
@ -94,8 +93,8 @@ vframes = 4
|
|||
|
||||
[node name="AnimationPlayer" parent="." index="1"]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_wlien"),
|
||||
"aloe": ExtResource("3_3sp3b")
|
||||
&"": SubResource("AnimationLibrary_wlien"),
|
||||
&"aloe": ExtResource("3_3sp3b")
|
||||
}
|
||||
|
||||
[node name="AnimationTree" parent="." index="2"]
|
||||
|
|
@ -105,9 +104,10 @@ parameters/conditions/heal = false
|
|||
|
||||
[node name="Behaviour" type="Node" parent="." index="3"]
|
||||
script = ExtResource("4_55asm")
|
||||
_hpTreshold = 0.33
|
||||
|
||||
[node name="Timer" type="Timer" parent="Behaviour" index="0"]
|
||||
wait_time = 15.0
|
||||
wait_time = 20.0
|
||||
one_shot = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox" index="0"]
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ size = Vector2(49, 38)
|
|||
texture = ExtResource("2_ffrjr")
|
||||
hframes = 10
|
||||
vframes = 2
|
||||
frame = 8
|
||||
frame = 3
|
||||
|
||||
[node name="AnimationPlayer" parent="." index="1"]
|
||||
libraries = {
|
||||
|
|
@ -52,7 +52,7 @@ _tree = NodePath("../AnimationTree")
|
|||
collision_layer = 4
|
||||
collision_mask = 8
|
||||
script = ExtResource("3_hqtbm")
|
||||
_damage = 2
|
||||
_damage = 6
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox" index="0"]
|
||||
position = Vector2(0.5, 9)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ _maxHP = 450
|
|||
texture = ExtResource("2_o5tda")
|
||||
hframes = 12
|
||||
vframes = 3
|
||||
frame = 3
|
||||
frame = 4
|
||||
|
||||
[node name="AnimationPlayer" parent="." index="1"]
|
||||
libraries = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue