aboutsummaryrefslogtreecommitdiff
path: root/data/cards/magic
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2021-02-28 17:01:38 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2021-02-28 17:01:38 +0100
commit0692ccd33afc4fdd80550e9979b824c1c25e973b (patch)
tree8cf46b780af060d9fd6cf5a089729a9491eaa1c7 /data/cards/magic
parent5074205584de432892de5b0543b64efde4ddd6e3 (diff)
downloadmuhqs-game-0692ccd33afc4fdd80550e9979b824c1c25e973b.tar.gz
muhqs-game-0692ccd33afc4fdd80550e9979b824c1c25e973b.zip
rework how cards are defined and generated
Card definitions are now stored in data/cards/ in a subdirectory for each set as YAML files. YAML is still human readable but stricter and better to handle in code than ini. The latex filesystem layout resembles the card definition layout and is created by the Makefile from the YAML card definitions and must not be regenerated each time by hand.
Diffstat (limited to 'data/cards/magic')
-rw-r--r--data/cards/magic/action!.yml5
-rw-r--r--data/cards/magic/appear!.yml5
-rw-r--r--data/cards/magic/attack!.yml5
-rw-r--r--data/cards/magic/catalyst.yml5
-rw-r--r--data/cards/magic/clone!.yml5
-rw-r--r--data/cards/magic/defense!.yml5
-rw-r--r--data/cards/magic/die!.yml5
-rw-r--r--data/cards/magic/heal!.yml5
-rw-r--r--data/cards/magic/isolate!.yml5
-rw-r--r--data/cards/magic/mine!.yml5
-rw-r--r--data/cards/magic/more!.yml5
-rw-r--r--data/cards/magic/no!.yml5
-rw-r--r--data/cards/magic/pierce!.yml5
-rw-r--r--data/cards/magic/ritual!.yml5
-rw-r--r--data/cards/magic/rush!.yml5
-rw-r--r--data/cards/magic/select!.yml5
-rw-r--r--data/cards/magic/shroud!.yml5
-rw-r--r--data/cards/magic/stumble!.yml5
-rw-r--r--data/cards/magic/switch!.yml5
-rw-r--r--data/cards/magic/transmute!.yml5
20 files changed, 100 insertions, 0 deletions
diff --git a/data/cards/magic/action!.yml b/data/cards/magic/action!.yml
new file mode 100644
index 00000000..940e4553
--- /dev/null
+++ b/data/cards/magic/action!.yml
@@ -0,0 +1,5 @@
+name: Action!
+type: spell
+buy: 5
+play: 2
+effect: Move or attack with one unit
diff --git a/data/cards/magic/appear!.yml b/data/cards/magic/appear!.yml
new file mode 100644
index 00000000..4a23d982
--- /dev/null
+++ b/data/cards/magic/appear!.yml
@@ -0,0 +1,5 @@
+name: Appear!
+type: spell
+buy: 7
+play: 3X
+effect: Play one unit costing X on any free tile
diff --git a/data/cards/magic/attack!.yml b/data/cards/magic/attack!.yml
new file mode 100644
index 00000000..044bb1f9
--- /dev/null
+++ b/data/cards/magic/attack!.yml
@@ -0,0 +1,5 @@
+name: Attack!
+type: spell
+buy: 5
+play: 2
+effect: Distribute 2 times "+1 Attack this turn" on up to two units
diff --git a/data/cards/magic/catalyst.yml b/data/cards/magic/catalyst.yml
new file mode 100644
index 00000000..7a038280
--- /dev/null
+++ b/data/cards/magic/catalyst.yml
@@ -0,0 +1,5 @@
+name: catalyst
+type: artifact
+buy: 3
+play: 5
+effect: Spells any player controlling the most units in range 1 playes cost one less resource
diff --git a/data/cards/magic/clone!.yml b/data/cards/magic/clone!.yml
new file mode 100644
index 00000000..f5da8f1f
--- /dev/null
+++ b/data/cards/magic/clone!.yml
@@ -0,0 +1,5 @@
+name: Clone!
+type: spell
+buy: 7
+play: 3
+effect: Copy the next card you play. You may choose new targets. If you copy a permanent place a token copy of the parmanent in range 1 of the original
diff --git a/data/cards/magic/defense!.yml b/data/cards/magic/defense!.yml
new file mode 100644
index 00000000..38fae437
--- /dev/null
+++ b/data/cards/magic/defense!.yml
@@ -0,0 +1,5 @@
+name: Defense!
+type: spell
+buy: 5
+play: 3
+effect: Two units gain +1 Armor until end of turn
diff --git a/data/cards/magic/die!.yml b/data/cards/magic/die!.yml
new file mode 100644
index 00000000..f8b13155
--- /dev/null
+++ b/data/cards/magic/die!.yml
@@ -0,0 +1,5 @@
+name: Die!
+type: spell
+buy: 10
+play: 6
+effect: Destroy target Unit
diff --git a/data/cards/magic/heal!.yml b/data/cards/magic/heal!.yml
new file mode 100644
index 00000000..cd8af15d
--- /dev/null
+++ b/data/cards/magic/heal!.yml
@@ -0,0 +1,5 @@
+name: Heal!
+type: spell
+buy: 5
+play: 2
+effect: Target unit gains 1 Health or remove all Poison counters from it
diff --git a/data/cards/magic/isolate!.yml b/data/cards/magic/isolate!.yml
new file mode 100644
index 00000000..6c969c2c
--- /dev/null
+++ b/data/cards/magic/isolate!.yml
@@ -0,0 +1,5 @@
+name: Isolate!
+type: spell
+buy: 5
+play: 2
+effect: Target unit can not receive or deal damage this turn
diff --git a/data/cards/magic/mine!.yml b/data/cards/magic/mine!.yml
new file mode 100644
index 00000000..17571785
--- /dev/null
+++ b/data/cards/magic/mine!.yml
@@ -0,0 +1,5 @@
+name: Mine!
+type: spell
+buy: 5
+play: 2
+effect: Steal 2 resource from opponent
diff --git a/data/cards/magic/more!.yml b/data/cards/magic/more!.yml
new file mode 100644
index 00000000..d2bcfbe8
--- /dev/null
+++ b/data/cards/magic/more!.yml
@@ -0,0 +1,5 @@
+name: More!
+type: spell
+buy: 5
+play: 2
+effect: Draw two cards
diff --git a/data/cards/magic/no!.yml b/data/cards/magic/no!.yml
new file mode 100644
index 00000000..f5485b70
--- /dev/null
+++ b/data/cards/magic/no!.yml
@@ -0,0 +1,5 @@
+name: No!
+type: spell
+buy: 5
+play: 2
+effect: Counter target spell
diff --git a/data/cards/magic/pierce!.yml b/data/cards/magic/pierce!.yml
new file mode 100644
index 00000000..8dfd4628
--- /dev/null
+++ b/data/cards/magic/pierce!.yml
@@ -0,0 +1,5 @@
+name: Pierce!
+type: spell
+buy: 5
+play: 1X
+effect: Ignore X Armor of target unit this turn
diff --git a/data/cards/magic/ritual!.yml b/data/cards/magic/ritual!.yml
new file mode 100644
index 00000000..e317faab
--- /dev/null
+++ b/data/cards/magic/ritual!.yml
@@ -0,0 +1,5 @@
+name: Ritual!
+type: spell
+buy: 7
+play: 1
+effect: Gain 3 Ressource
diff --git a/data/cards/magic/rush!.yml b/data/cards/magic/rush!.yml
new file mode 100644
index 00000000..84439b30
--- /dev/null
+++ b/data/cards/magic/rush!.yml
@@ -0,0 +1,5 @@
+name: Rush!
+type: spell
+buy: 5
+play: 2
+effect: Distribute 2 times "+ 2 Movement this turn" on up to two units
diff --git a/data/cards/magic/select!.yml b/data/cards/magic/select!.yml
new file mode 100644
index 00000000..154f840a
--- /dev/null
+++ b/data/cards/magic/select!.yml
@@ -0,0 +1,5 @@
+name: Select!
+type: spell
+buy: 7
+play: 1
+effect: Draw 1. You may exile a card from your hand
diff --git a/data/cards/magic/shroud!.yml b/data/cards/magic/shroud!.yml
new file mode 100644
index 00000000..1a1309fa
--- /dev/null
+++ b/data/cards/magic/shroud!.yml
@@ -0,0 +1,5 @@
+name: Shroud!
+type: spell
+buy: 5
+play: 2
+effect: Target unit can not be targeted this turn
diff --git a/data/cards/magic/stumble!.yml b/data/cards/magic/stumble!.yml
new file mode 100644
index 00000000..b384854a
--- /dev/null
+++ b/data/cards/magic/stumble!.yml
@@ -0,0 +1,5 @@
+name: Stumble!
+type: spell
+buy: 5
+play: 2
+effect: Target unit can not move or attack this turn
diff --git a/data/cards/magic/switch!.yml b/data/cards/magic/switch!.yml
new file mode 100644
index 00000000..a93f29f1
--- /dev/null
+++ b/data/cards/magic/switch!.yml
@@ -0,0 +1,5 @@
+name: Switch!
+type: spell
+buy: 5
+play: 2
+effect: Switch the positions of two permanents you control
diff --git a/data/cards/magic/transmute!.yml b/data/cards/magic/transmute!.yml
new file mode 100644
index 00000000..6686b091
--- /dev/null
+++ b/data/cards/magic/transmute!.yml
@@ -0,0 +1,5 @@
+name: Transmute!
+type: spell
+buy: 5
+play: 5
+effect: Put one card from your store into your hand. Exile this card