Fix to costs generated by gen-card.pl (example: 2/W)

This commit is contained in:
North 2011-08-07 22:02:43 +03:00
parent 39e9a39eb5
commit ffa0945e51

View file

@ -27,7 +27,7 @@ sub toCamelCase {
sub fixCost {
my $string = $_[0];
$string =~ s/{([BUGRW])([BUGRW])}/{$1\/$2}/g;
$string =~ s/{([2BUGRW])([2BUGRW])}/{$1\/$2}/g;
$string;
}