mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
refactor cards to use supertype enum
This commit is contained in:
parent
84559457d3
commit
0879298e92
6374 changed files with 17783 additions and 14013 deletions
|
|
@ -180,7 +180,7 @@ while ($type =~ m/([a-zA-Z]+)( )*/g) {
|
|||
if (@types) {
|
||||
$vars{'subType'} .= "\n this.subtype.add(\"$1\");";
|
||||
} else {
|
||||
$vars{'subType'} .= "\n this.supertype.add(\"$1\");";
|
||||
$vars{'subType'} .= "\n addSuperType(\"$1\");";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ while (<DIR_LISTING>)
|
|||
$types{$1}++;
|
||||
$types_files{$1} .= $file . ",,,";
|
||||
}
|
||||
if ($line =~ m/this.supertype.add.*"([^"]*)"/)
|
||||
if ($line =~ m/addSuperType.*"([^"]*)"/)
|
||||
{
|
||||
$types{$1}++;
|
||||
$types_files{$1} .= $file . ",,,";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue