Merge pull request #2528 from spjspj/master

spjspj - more gen-existing-cards-by-set.pl stuff
This commit is contained in:
spjspj 2016-10-30 16:51:31 +11:00 committed by GitHub
commit 045c5fc9e9

View file

@ -165,6 +165,8 @@ foreach $name_collectorid (sort @setCards)
my $str = " cards.add(new SetCardInfo(\"$cardName\", $cardNr, Rarity." . getRarity ($cards{$cardName}{$setName}[3], $cardName) . ", mage.cards.$setId.$className.class));\n";
my $plus_cardName = $cardName;
$plus_cardName =~ s/ /+/img;
$plus_cardName =~ s/,/+/img;
$plus_cardName = "intext:\"$plus_cardName\"";
if (!exists ($alreadyIn{$cardNr})) {
# Go Looking for the existing implementation..