non-unitary

more wave beam balance
backward induction costs 2 research now, also it is fixed (it would sometimes give an extra tech or the wrong tech)
powerupBoss now gives research and ammo when it hits you, not 2 heals (it still ejects one of your tech also)

tech: non-unitary operator - taking damage randomizes your run, reduce difficulty by 2 levels
This commit is contained in:
landgreen
2021-05-06 05:50:50 -07:00
parent 93bdb5e8c3
commit 455f41540a
9 changed files with 175 additions and 96 deletions

View File

@@ -18,9 +18,9 @@ const powerUps = {
} else if (type === "tech") {
setTimeout(() => {
powerUps.lastTechIndex = index
}, 100);
tech.giveTech(index)
}, 10);
simulation.makeTextLog(`<span class='color-var'>tech</span>.giveTech("<span class='color-text'>${tech.tech[index].name}</span>")`);
tech.giveTech(index)
}
powerUps.endDraft(type);
},
@@ -532,7 +532,7 @@ const powerUps = {
powerUps.spawn(x, y, "gun");
return;
}
if (Math.random() < 0.0027 * (25 - tech.totalCount)) { //a new tech has a low chance for each not acquired tech up to 25
if (Math.random() < 0.0027 * (22 - tech.totalCount)) { //a new tech has a low chance for each not acquired tech up to 25
powerUps.spawn(x, y, "tech");
return;
}