Added comments for Keywords abilities in gen-card.pl

This commit is contained in:
North 2012-06-01 01:06:05 +03:00
parent 9c3cc85ff2
commit 99a567a00e

View file

@ -193,6 +193,7 @@ foreach my $setName (keys %{$cards{$cardName}}) {
}
}
if ($keywords{$kw}) {
$vars{'abilities'} .= "\n // " . ucfirst($kwUnchanged);
if ($keywords{$kw} eq 'instance') {
$vars{'abilities'} .= "\n this.addAbility(" . $kw . "Ability.getInstance());";
} elsif ($keywords{$kw} eq 'new') {