Merge pull request #2512 from spjspj/master

Perl / Mtg-cards-data
This commit is contained in:
spjspj 2016-10-29 17:41:02 +11:00 committed by GitHub
commit 9c6009e68f
2 changed files with 9 additions and 2 deletions

View file

@ -96,7 +96,14 @@ if(!$cardName) {
chomp $cardName;
}
if (!exists $cards{$cardName}) {
my $possible;
foreach $possible (sort keys (%cards)) {
if ($possible =~ m/^$cardName.*/img && $cardName =~ m/..../) {
print ("Did you mean $possible ?\n");
}
}
die "Card name doesn't exist: $cardName\n";
}

View file

@ -30092,7 +30092,7 @@ Chaos Warp|Commander 2016|122|R|{2}{R}|Instant|||The owner of target permanent s
Daretti, Scrap Savant|Commander 2016|123|M|{3}{R}|Planeswalker - Daretti|||+2: Discard up to two cards, then draw that many cards.$-2: Sacrifice an artifact. If you do, return target artifact card from your graveyard to the battlefield.$-10: You get an emblem with "Whenever an artifact is put into your graveyard from the battlefield, return that card to the battlefield at the beginning of the next end step."|
Dragon Mage|Commander 2016|124|R|{5}{R}{R}|Creature - Dragon Wizard|5|5|Flying$Whenever Dragon Mage deals combat damage to a player, each player discards his or her hand, then draws seven cards.|
Godo, Bandit Warlord|Commander 2016|125|R|{5}{R}|Legendary Creature - Human Barbarian|3|3|When Godo, Bandit Warlord enters the battlefield, you may search your library for an Equipment card and put it onto the battlefield. If you do, shuffle your library.$Whenever Godo attacks for the first time each turn, untap it and all Samurai you control. After this phase, there is an additional combat phase.|
Grab the Reins|Commander 2016|126|{3}{R}|Instant|||Choose one &mdash; Until end of turn, you gain control of target creature and it gains haste.; Sacrifice a creature. Grab the Reins deals damage equal to that creature's power to target creature or player.$Entwine {2}{R} <i>(Choose both if you pay the entwine cost.)</i>|
Grab the Reins|Commander 2016|126|U|{3}{R}|Instant|||Choose one &mdash; Until end of turn, you gain control of target creature and it gains haste.; Sacrifice a creature. Grab the Reins deals damage equal to that creature's power to target creature or player.$Entwine {2}{R} <i>(Choose both if you pay the entwine cost.)</i>|
Hellkite Igniter|Commander 2016|127|R|{5}{R}{R}|Creature - Dragon|5|5|Flying, haste${1}{R}: Hellkite Igniter gets +X/+0 until end of turn, where X is the number of artifacts you control.|
Hellkite Tyrant|Commander 2016|128|M|{4}{R}{R}|Creature - Dragon|6|5|Flying, trample$Whenever Hellkite Tyrant deals combat damage to a player, gain control of all artifacts that player controls.$At the beginning of your upkeep, if you control twenty of more artifacts, you win the game.|
Humble Defector|Commander 2016|129|U|{1}{R}|Creature - Human Rogue|2|1|{T}: Draw two cards. Target opponent gains control of Humble Defector. Activate this ability only during your turn.|
@ -30216,4 +30216,4 @@ Mountain|Commander 2016|347|L||Basic Land - Mountain||||
Mountain|Commander 2016|348|L||Basic Land - Mountain||||
Forest|Commander 2016|349|L||Basic Land - Forest||||
Forest|Commander 2016|350|L||Basic Land - Forest||||
Forest|Commander 2016|351|L||Basic Land - Forest||||
Forest|Commander 2016|351|L||Basic Land - Forest||||