Updated Loottables

This commit is contained in:
Florian Kinder
2014-02-15 02:36:35 +01:00
parent ce6246882d
commit b0888b8a64
4 changed files with 63 additions and 9897 deletions

View File

@@ -32,6 +32,8 @@ while (my $line = <CFG>) {
for (my $i=0; $i<scalar(@itemType); $i++) {
$cfg .= sprintf("\t\t%s{\"%s\",%.2f}\n", ($i > 0 ? ',' : ''), $itemType[$i], $itemChance[$i]);
}
@itemType = ();
@itemChance = ();
$cfg .= "\t};\n";
}