Make later procgen features more common

This commit is contained in:
thepaperpilot 2023-05-12 18:44:54 -05:00
parent 4f0cf58e70
commit aa8b0a6825

View file

@ -212,10 +212,10 @@ export function createPlane(
const featureWeights = { const featureWeights = {
upgrades: 32, upgrades: 32,
repeatables: i <= 1 ? 0 : 16, repeatables: i <= 1 ? 0 : 16,
conversion: i <= 3 ? 0 : 8, conversion: i <= 2 ? 0 : 12,
xp: i <= 5 ? 0 : 4, xp: i <= 3 ? 0 : 8,
dimensions: i <= 7 ? 0 : 2, dimensions: i <= 4 ? 0 : 6,
prestige: i <= 7 || i >= length - 1 ? 0 : 1 prestige: i <= 5 || i >= length - 1 ? 0 : 4
}; };
const type = pickRandom(featureWeights, random); const type = pickRandom(featureWeights, random);
switch (type) { switch (type) {