Re: Forge version 1.5.38
I actually added that exact feature alongside the abovementioned changes. Hit the "allow duplicate cards" checkbox when creating your quest (it's on the load/new quest menu, not the pop-up) and you'll potentially get duplicates. It defaults to unchecked so the behavior won't change for people unexpectedly.serrasmurf wrote:Exactly, fat packs and the like are fine, but initial pools currently never have duplicates
When I get home I can elaborate on the way the starting pools are now generated if anyone wants me to. It now does a lot of work to get you what you want and keep things you might not want out.
Edit: This is the current algorithm for picking your starting pool using the balanced distribution:
Filters:
- Code: Select all
for (i = [0..99]) {
if (i < colorBiasPreference) {
if (i % 8 == 0 && colorless not in preferred colors && includeArtifacts) {
add an artifact filter
} else if (i % 5 == 0) {
if (only colorless selected && Phyrexian limit not reached) {
if (Phyrexian cost cards in the selected sets) {
add a Phyrexian mana cost filter
continue
}
}
if (multicolored cards in selected sets and colors && multicolor limit not reached) {
add multicolor-only filter
} else {
add card-has-color filter //Still allows multi-colored cards
}
} else {
add mono-color filter
}
} else {
if (i % 6 == 0) {
add multicolor-only filter
} else {
add mono-color filter
}
}
}
Card Selection:
- Code: Select all
shuffle filters list
allowedMisses = (number of filters + 4) * number of cards needed
while (need more cards && allowedMisses > 0) {
if (filters remaining) {
pick next filter
try 10 times to pick a card using that filter from the selected sets/rarities
}
if (no card selected) {
try another filter 10 times
if (no card selected) {
continue to next card without generating one
}
} else {
if (card not in starting pool || allow duplicate cards) {
add card to starting pool
} else {
allowedMisses--
}
}
}
return starting pool