feat: implement support cards
- insurance - absorb - tanker - lifesteal - sword mastery - invisibility - potion - all out attack
This commit is contained in:
parent
152ade51da
commit
fc70d205b3
15 changed files with 110 additions and 88 deletions
|
|
@ -1,12 +1,13 @@
|
|||
[gd_resource type="Resource" script_class="SupportCard" load_steps=3 format=3 uid="uid://be01tdq1fxlct"]
|
||||
[gd_resource type="Resource" script_class="SimpleSupportCard" load_steps=3 format=3 uid="uid://cc0ebl4g4ffyk"]
|
||||
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card_effect_instance.gd" id="1_mhxdy"]
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card.gd" id="2_x8k3o"]
|
||||
[ext_resource type="Script" path="res://tcg/card/implemented_support_card.gd" id="2_f6hay"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_x8k3o")
|
||||
script = ExtResource("2_f6hay")
|
||||
scope = "turn"
|
||||
magnitude = 0
|
||||
type = "red"
|
||||
priority = 0
|
||||
effects = Array[ExtResource("1_mhxdy")]([null])
|
||||
effects = Array[ExtResource("1_mhxdy")]([])
|
||||
name = "Absorb"
|
||||
description = "Enemy damage converted to heal your Active Monster Field HP during this turn."
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
[gd_resource type="Resource" script_class="SupportCard" load_steps=3 format=3 uid="uid://dgxcvdo6x6kst"]
|
||||
[gd_resource type="Resource" script_class="SimpleSupportCard" load_steps=3 format=3 uid="uid://dgxcvdo6x6kst"]
|
||||
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card_effect_instance.gd" id="1_fd50n"]
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card.gd" id="2_1tjl7"]
|
||||
[ext_resource type="Script" path="res://tcg/card/implemented_support_card.gd" id="2_61mgn"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_1tjl7")
|
||||
script = ExtResource("2_61mgn")
|
||||
scope = "instant"
|
||||
magnitude = 0
|
||||
type = "green"
|
||||
priority = 0
|
||||
effects = Array[ExtResource("1_fd50n")]([null])
|
||||
name = "All-Out Attack"
|
||||
description = "Combine all Rock Paper Scissor during this turn, and got additional damage from the lowest Rock Paper Scissor you got."
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
[gd_resource type="Resource" script_class="SupportCard" load_steps=3 format=3 uid="uid://c0grh1y65e0f3"]
|
||||
[gd_resource type="Resource" script_class="SimpleSupportCard" load_steps=3 format=3 uid="uid://c0grh1y65e0f3"]
|
||||
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card_effect_instance.gd" id="1_pkc1x"]
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card.gd" id="2_qqko6"]
|
||||
[ext_resource type="Script" path="res://tcg/card/implemented_support_card.gd" id="2_iq88n"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_qqko6")
|
||||
script = ExtResource("2_iq88n")
|
||||
scope = "turn"
|
||||
magnitude = 0
|
||||
type = "green"
|
||||
priority = 0
|
||||
effects = Array[ExtResource("1_pkc1x")]([null])
|
||||
name = "Energy Booster"
|
||||
description = "Add 1 additional Energy."
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
[gd_resource type="Resource" script_class="SupportCard" load_steps=3 format=3 uid="uid://dfocg5yfh22e8"]
|
||||
[gd_resource type="Resource" script_class="SimpleSupportCard" load_steps=3 format=3 uid="uid://dfocg5yfh22e8"]
|
||||
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card_effect_instance.gd" id="1_gtyqr"]
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card.gd" id="2_286ne"]
|
||||
[ext_resource type="Script" path="res://tcg/card/implemented_support_card.gd" id="2_3ixor"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_286ne")
|
||||
script = ExtResource("2_3ixor")
|
||||
scope = "turn"
|
||||
magnitude = 10
|
||||
type = "red"
|
||||
priority = 0
|
||||
effects = Array[ExtResource("1_gtyqr")]([null])
|
||||
name = "Insurance"
|
||||
description = "If your monster supposed to be dead in this turn, keep it alive at 10 HP."
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
[gd_resource type="Resource" script_class="SupportCard" load_steps=3 format=3 uid="uid://by4yg81uqti3u"]
|
||||
[gd_resource type="Resource" script_class="SimpleSupportCard" load_steps=3 format=3 uid="uid://by4yg81uqti3u"]
|
||||
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card_effect_instance.gd" id="1_5tnpm"]
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card.gd" id="2_hsvj6"]
|
||||
[ext_resource type="Script" path="res://tcg/card/implemented_support_card.gd" id="2_6c2xo"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_hsvj6")
|
||||
script = ExtResource("2_6c2xo")
|
||||
scope = "turn"
|
||||
magnitude = 0
|
||||
type = "green"
|
||||
priority = 0
|
||||
effects = Array[ExtResource("1_5tnpm")]([null])
|
||||
name = "Invisibility"
|
||||
description = "Ignore any damage to your monster in this turn."
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
[gd_resource type="Resource" script_class="SupportCard" load_steps=3 format=3 uid="uid://bcrlaam8uq6xt"]
|
||||
[gd_resource type="Resource" script_class="SimpleSupportCard" load_steps=3 format=3 uid="uid://bcrlaam8uq6xt"]
|
||||
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card_effect_instance.gd" id="1_b33y4"]
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card.gd" id="2_qww3m"]
|
||||
[ext_resource type="Script" path="res://tcg/card/implemented_support_card.gd" id="2_khaf1"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_qww3m")
|
||||
script = ExtResource("2_khaf1")
|
||||
scope = "turn"
|
||||
magnitude = 0
|
||||
type = "green"
|
||||
priority = 0
|
||||
effects = Array[ExtResource("1_b33y4")]([null])
|
||||
name = "Lifesteal"
|
||||
description = "During this turn your attack also heals your HP."
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
[gd_resource type="Resource" script_class="SupportCard" load_steps=3 format=3 uid="uid://cl0jcer7o04uc"]
|
||||
[gd_resource type="Resource" script_class="SimpleSupportCard" load_steps=3 format=3 uid="uid://cl0jcer7o04uc"]
|
||||
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card_effect_instance.gd" id="1_awvxv"]
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card.gd" id="2_v8fdj"]
|
||||
[ext_resource type="Script" path="res://tcg/card/implemented_support_card.gd" id="2_tr5ug"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_v8fdj")
|
||||
script = ExtResource("2_tr5ug")
|
||||
scope = "turn"
|
||||
magnitude = 0
|
||||
type = "red"
|
||||
priority = 1
|
||||
effects = Array[ExtResource("1_awvxv")]([null])
|
||||
name = "Negate"
|
||||
description = "Cancel 1 of the Support Card played by your opponent. This card will always be played last."
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
[gd_resource type="Resource" script_class="SupportCard" load_steps=6 format=3 uid="uid://4eod3m0vc5a8"]
|
||||
[gd_resource type="Resource" script_class="SimpleSupportCard" load_steps=5 format=3 uid="uid://4eod3m0vc5a8"]
|
||||
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card_effect_instance.gd" id="1_ujm0o"]
|
||||
[ext_resource type="Resource" uid="uid://cvu0rtt5nggf" path="res://data/support_effects/heal.tres" id="2_k1cnl"]
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card.gd" id="3_6r4k4"]
|
||||
[ext_resource type="Texture2D" uid="uid://rh3aswb0p7ri" path="res://assets/energy.png" id="3_kyx3v"]
|
||||
[ext_resource type="Script" path="res://tcg/card/implemented_support_card.gd" id="3_at5nt"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_88lmk"]
|
||||
script = ExtResource("1_ujm0o")
|
||||
|
|
@ -11,10 +10,10 @@ magnitude = 30
|
|||
effect = ExtResource("2_k1cnl")
|
||||
|
||||
[resource]
|
||||
script = ExtResource("3_6r4k4")
|
||||
script = ExtResource("3_at5nt")
|
||||
scope = "turn"
|
||||
magnitude = 30
|
||||
type = "green"
|
||||
priority = 0
|
||||
effects = Array[ExtResource("1_ujm0o")]([SubResource("Resource_88lmk")])
|
||||
name = "Potion"
|
||||
description = "Heal 30 HP"
|
||||
icon = ExtResource("3_kyx3v")
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
[gd_resource type="Resource" script_class="SupportCard" load_steps=3 format=3 uid="uid://c1gsrru1wa6ao"]
|
||||
[gd_resource type="Resource" script_class="SimpleSupportCard" load_steps=3 format=3 uid="uid://c1gsrru1wa6ao"]
|
||||
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card_effect_instance.gd" id="1_mk2or"]
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card.gd" id="2_fliii"]
|
||||
[ext_resource type="Script" path="res://tcg/card/implemented_support_card.gd" id="2_igbok"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_fliii")
|
||||
script = ExtResource("2_igbok")
|
||||
scope = "turn"
|
||||
magnitude = 0
|
||||
type = "red"
|
||||
priority = 0
|
||||
effects = Array[ExtResource("1_mk2or")]([null])
|
||||
name = "Reflection"
|
||||
description = "Enemy got the same amount of damage as our monster in this turn."
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
[gd_resource type="Resource" script_class="SupportCard" load_steps=5 format=3 uid="uid://2xeb6keaoabo"]
|
||||
[gd_resource type="Resource" script_class="SimpleSupportCard" load_steps=5 format=3 uid="uid://2xeb6keaoabo"]
|
||||
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card_effect_instance.gd" id="1_y6yvj"]
|
||||
[ext_resource type="Resource" uid="uid://bs4i85slalkgd" path="res://data/support_effects/sword_mastery.tres" id="2_omhdb"]
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card.gd" id="2_vp8a3"]
|
||||
[ext_resource type="Script" path="res://tcg/card/implemented_support_card.gd" id="3_37rh4"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_wwv02"]
|
||||
script = ExtResource("1_y6yvj")
|
||||
|
|
@ -10,9 +10,10 @@ magnitude = 20
|
|||
effect = ExtResource("2_omhdb")
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_vp8a3")
|
||||
script = ExtResource("3_37rh4")
|
||||
scope = "monster"
|
||||
magnitude = 20
|
||||
type = "green"
|
||||
priority = 0
|
||||
effects = Array[ExtResource("1_y6yvj")]([SubResource("Resource_wwv02")])
|
||||
name = "Sword Mastery"
|
||||
description = "Permanently add 20 damage for all Rock Paper Scissor to 1 Active Monster."
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
[gd_resource type="Resource" script_class="SupportCard" load_steps=3 format=3 uid="uid://dsmrqyxt8mdp5"]
|
||||
[gd_resource type="Resource" script_class="SimpleSupportCard" load_steps=3 format=3 uid="uid://dsmrqyxt8mdp5"]
|
||||
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card_effect_instance.gd" id="1_1fvcb"]
|
||||
[ext_resource type="Script" path="res://tcg/card/support_card.gd" id="2_m4ahe"]
|
||||
[ext_resource type="Script" path="res://tcg/card/implemented_support_card.gd" id="2_d0adk"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2_m4ahe")
|
||||
script = ExtResource("2_d0adk")
|
||||
scope = "turn"
|
||||
magnitude = 0
|
||||
type = "red"
|
||||
priority = 0
|
||||
effects = Array[ExtResource("1_1fvcb")]([null])
|
||||
name = "Tanker"
|
||||
description = "Add your HP with your selected (Rock Paper Scissor) during this turn, and reduce to max HP if current HP higher than max HP."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue