fix: all out attack scope
fix: HP placeholder
This commit is contained in:
parent
e7c0782099
commit
72a1418914
3 changed files with 6 additions and 4 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
script = ExtResource("2_61mgn")
|
script = ExtResource("2_61mgn")
|
||||||
scope = "instant"
|
scope = "turn"
|
||||||
type = "green"
|
type = "green"
|
||||||
effects = Array[ExtResource("1_fd50n")]([null])
|
effects = Array[ExtResource("1_fd50n")]([null])
|
||||||
name = "All-Out Attack"
|
name = "All-Out Attack"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=23 format=3 uid="uid://bgc0u117jqyr1"]
|
[gd_scene load_steps=24 format=3 uid="uid://bgc0u117jqyr1"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://demo_game.gd" id="1_jn16u"]
|
[ext_resource type="Script" path="res://demo_game.gd" id="1_jn16u"]
|
||||||
[ext_resource type="Script" path="res://player_side.gd" id="2_w4tnt"]
|
[ext_resource type="Script" path="res://player_side.gd" id="2_w4tnt"]
|
||||||
|
|
@ -159,7 +159,7 @@ offset_top = 24.0
|
||||||
offset_right = 251.0
|
offset_right = 251.0
|
||||||
offset_bottom = 47.0
|
offset_bottom = 47.0
|
||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
text = "HP: +0"
|
text = "HP +0"
|
||||||
|
|
||||||
[node name="HBoxContainer" type="HBoxContainer" parent="Own"]
|
[node name="HBoxContainer" type="HBoxContainer" parent="Own"]
|
||||||
visible = false
|
visible = false
|
||||||
|
|
@ -281,7 +281,7 @@ offset_right = 251.0
|
||||||
offset_bottom = -29.0
|
offset_bottom = -29.0
|
||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
grow_vertical = 0
|
grow_vertical = 0
|
||||||
text = "HP: +0"
|
text = "HP +0"
|
||||||
|
|
||||||
[node name="StartGameButton" type="Button" parent="."]
|
[node name="StartGameButton" type="Button" parent="."]
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
|
|
|
||||||
|
|
@ -42,12 +42,14 @@ func _ready():
|
||||||
support1_green.visible = false
|
support1_green.visible = false
|
||||||
support2_green.visible = false
|
support2_green.visible = false
|
||||||
support2_red.visible = false
|
support2_red.visible = false
|
||||||
|
incoming_damage_label.visible = false
|
||||||
for child in deck.get_children():
|
for child in deck.get_children():
|
||||||
child.queue_free()
|
child.queue_free()
|
||||||
|
|
||||||
func _on_update(transition):
|
func _on_update(transition):
|
||||||
hovering_cards_duration.clear()
|
hovering_cards_duration.clear()
|
||||||
selected_card = null
|
selected_card = null
|
||||||
|
incoming_damage_label.visible = true
|
||||||
|
|
||||||
for child in deck.get_children():
|
for child in deck.get_children():
|
||||||
child.queue_free()
|
child.queue_free()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue