mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
small change
This commit is contained in:
parent
e27d302e9d
commit
c150c1adae
1 changed files with 3 additions and 1 deletions
|
@ -187,6 +187,7 @@ my @types;
|
|||
$vars{'planeswalker'} = 'false';
|
||||
$vars{'subType'} = '';
|
||||
$vars{'hasSubTypes'} = 'false';
|
||||
$vars{'hasSuperTypes'} = 'false';
|
||||
my $cardAbilities = $card[8];
|
||||
my $type = $card[5];
|
||||
while ($type =~ m/([a-zA-Z]+)( )*/g) {
|
||||
|
@ -203,7 +204,8 @@ while ($type =~ m/([a-zA-Z]+)( )*/g) {
|
|||
$vars{'hasSubTypes'} = 'true';
|
||||
} else {
|
||||
my $st = uc($1);
|
||||
$vars{'subType'} .= "\n addSuperType(SuperType.$st);";
|
||||
$vars{'subType'} .= "\n this.addSuperType(SuperType.$st);";
|
||||
$vars{'hasSuperTypes'} = 'true';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue