spjspj - more gen-existing-cards-by-set.pl stuff

This commit is contained in:
spjspj 2016-10-30 16:50:54 +11:00
parent df601824b3
commit ed557b0475

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 $str = " cards.add(new SetCardInfo(\"$cardName\", $cardNr, Rarity." . getRarity ($cards{$cardName}{$setName}[3], $cardName) . ", mage.cards.$setId.$className.class));\n";
my $plus_cardName = $cardName; my $plus_cardName = $cardName;
$plus_cardName =~ s/ /+/img; $plus_cardName =~ s/ /+/img;
$plus_cardName =~ s/,/+/img;
$plus_cardName = "intext:\"$plus_cardName\"";
if (!exists ($alreadyIn{$cardNr})) { if (!exists ($alreadyIn{$cardNr})) {
# Go Looking for the existing implementation.. # Go Looking for the existing implementation..