mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
spjspj - more gen-existing-cards-by-set.pl stuff
This commit is contained in:
parent
df601824b3
commit
ed557b0475
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 $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..
|
||||||
|
|
Loading…
Reference in a new issue