This commit is contained in:
Hamcha 2023-10-13 12:07:16 +02:00
parent 6568ce1b69
commit f7018c44c6
Signed by: hamcha
GPG key ID: 1669C533B8CF6D89

View file

@ -84,7 +84,7 @@ func main() {
log.Println(" == Generating packs... ==")
for i := 0; i < *packCount; i++ {
pack := generatePack(filtered, *cardsPerDraft, *landLimit)
checkErr(os.WriteFile(fmt.Sprintf("pack-%d.json", i), []byte(serializePack(pack)), 0644))
checkErr(os.WriteFile(fmt.Sprintf("pack-%d.txt", i), []byte(serializePack(pack)), 0644))
}
log.Println(" == Done ==")