mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Added comments for Keywords abilities in gen-card.pl
This commit is contained in:
parent
9c3cc85ff2
commit
99a567a00e
1 changed files with 1 additions and 0 deletions
|
@ -193,6 +193,7 @@ foreach my $setName (keys %{$cards{$cardName}}) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($keywords{$kw}) {
|
if ($keywords{$kw}) {
|
||||||
|
$vars{'abilities'} .= "\n // " . ucfirst($kwUnchanged);
|
||||||
if ($keywords{$kw} eq 'instance') {
|
if ($keywords{$kw} eq 'instance') {
|
||||||
$vars{'abilities'} .= "\n this.addAbility(" . $kw . "Ability.getInstance());";
|
$vars{'abilities'} .= "\n this.addAbility(" . $kw . "Ability.getInstance());";
|
||||||
} elsif ($keywords{$kw} eq 'new') {
|
} elsif ($keywords{$kw} eq 'new') {
|
||||||
|
|
Loading…
Reference in a new issue