mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Merge pull request #2528 from spjspj/master
spjspj - more gen-existing-cards-by-set.pl stuff
This commit is contained in:
commit
045c5fc9e9
1 changed files with 2 additions and 0 deletions
|
@ -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..
|
||||
|
|
Loading…
Reference in a new issue