balance changes

This commit is contained in:
Rendo 2025-06-26 23:01:12 +05:00
commit 040d419a27
16 changed files with 203 additions and 17 deletions

View file

@ -50,7 +50,7 @@ blend_mode = 1
size = Vector2(32, 29)
[node name="Garlic" instance=ExtResource("1_5i0e6")]
_maxHP = 600
_maxHP = 200
[node name="Sprite2D" parent="." index="0"]
texture = ExtResource("2_w2jbi")

View file

@ -60,7 +60,7 @@ resource_local_to_scene = true
size = Vector2(20, 44)
[node name="Peashooter" instance=ExtResource("1_pyk3o")]
_maxHP = 100
_maxHP = 30
[node name="Sprite2D" parent="." index="0"]
texture = ExtResource("2_14qlx")

View file

@ -64,7 +64,7 @@ size = Vector2(15, 27)
size = Vector2(34, 19)
[node name="Potato mine" instance=ExtResource("1_dj7ul")]
_maxHP = 100
_maxHP = 20
[node name="Sprite2D" parent="." index="0"]
texture = ExtResource("2_sneas")

View file

@ -2,9 +2,9 @@
[ext_resource type="PackedScene" uid="uid://b1hjjbdwf1rtc" path="res://scenes/templates/plant_template.tscn" id="1_vmbvr"]
[ext_resource type="Texture2D" uid="uid://coafh3mjharxo" path="res://assets/sprites/atlases/plants/spikeweed.png" id="2_ffrjr"]
[ext_resource type="Script" path="res://scripts/components/plants/AreaAttack.cs" id="3_hqtbm"]
[ext_resource type="Script" uid="uid://co7ttejdo2qot" path="res://scripts/components/plants/AreaAttack.cs" id="3_hqtbm"]
[ext_resource type="AnimationLibrary" uid="uid://cen6ku4y01dyg" path="res://resources/animations/plants/spikeweed.res" id="3_nwshn"]
[ext_resource type="Script" path="res://scripts/components/plants/behaviours/SpikeweedBehaviour.cs" id="3_uhpn7"]
[ext_resource type="Script" uid="uid://dqquodxaijmem" path="res://scripts/components/plants/behaviours/SpikeweedBehaviour.cs" id="3_uhpn7"]
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_lmfqg"]
animation = &"spikeweed/idle"
@ -26,7 +26,6 @@ blend_mode = 1
size = Vector2(49, 38)
[node name="Spikeweed" instance=ExtResource("1_vmbvr")]
_maxHP = 100
[node name="Sprite2D" parent="." index="0"]
texture = ExtResource("2_ffrjr")
@ -36,7 +35,7 @@ frame = 8
[node name="AnimationPlayer" parent="." index="1"]
libraries = {
"spikeweed": ExtResource("3_nwshn")
&"spikeweed": ExtResource("3_nwshn")
}
[node name="AnimationTree" parent="." index="2"]

View file

@ -55,12 +55,13 @@ transitions = ["Start", "sunflower_idle", SubResource("AnimationNodeStateMachine
size = Vector2(26, 48)
[node name="Sunflower" instance=ExtResource("1_bikjn")]
_maxHP = 30
[node name="Sprite2D" parent="." index="0"]
texture = ExtResource("2_fwcda")
hframes = 9
vframes = 2
frame = 2
frame = 1
[node name="AnimationPlayer" parent="." index="1"]
libraries = {

View file

@ -28,7 +28,7 @@ blend_mode = 1
size = Vector2(33, 46)
[node name="Wallnut" instance=ExtResource("1_fluxn")]
_maxHP = 1000
_maxHP = 450
[node name="Sprite2D" parent="." index="0"]
texture = ExtResource("2_o5tda")