mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 01:25:55 +00:00
Health and shield extensions for player
This commit is contained in:
parent
62a77f5f78
commit
5dec57e711
6 changed files with 63 additions and 8 deletions
|
|
@ -110,7 +110,7 @@ debug_path_custom_color = Color(1, 0, 0, 1)
|
|||
[node name="HealthProvider" type="Node2D" parent="."]
|
||||
script = ExtResource("9_fyr27")
|
||||
ResourceName = "Health"
|
||||
MaxResource = 6.0
|
||||
_maxResource = 3.0
|
||||
|
||||
[node name="EnemyWeapon" parent="." instance=ExtResource("10_yktta")]
|
||||
WeaponData = ExtResource("11_kuimj")
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ debug_path_custom_color = Color(1, 0, 0, 1)
|
|||
[node name="HealthProvider" type="Node2D" parent="."]
|
||||
script = ExtResource("9_4h871")
|
||||
ResourceName = "Health"
|
||||
MaxResource = 6.0
|
||||
_maxResource = 2.0
|
||||
|
||||
[node name="EnemyWeapon" parent="." instance=ExtResource("10_nc74c")]
|
||||
WeaponData = ExtResource("11_y6dmo")
|
||||
|
|
|
|||
|
|
@ -355,12 +355,12 @@ _shieldProvider = NodePath("ShieldProvider")
|
|||
[node name="HealthProvider" type="Node2D" parent="DamageReceiver"]
|
||||
script = ExtResource("15_5qlss")
|
||||
ResourceName = "Health"
|
||||
MaxResource = 32.0
|
||||
_maxResource = 32.0
|
||||
|
||||
[node name="ShieldProvider" type="Node2D" parent="DamageReceiver"]
|
||||
script = ExtResource("15_5qlss")
|
||||
ResourceName = "Shield"
|
||||
MaxResource = 32.0
|
||||
_maxResource = 32.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="DamageReceiver"]
|
||||
shape = SubResource("CircleShape2D_igu66")
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
[sub_resource type="Resource" id="Resource_6wo78"]
|
||||
script = ExtResource("4_u1i8n")
|
||||
EggIndex = 0
|
||||
StartingEquipment = Array[ExtResource("5_u1i8n")]([])
|
||||
StartingEquipment = []
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rff8l"]
|
||||
size = Vector2(30, 52.5)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue