orbital armor

finalBoss pushes away things between every phase
  it's much smaller in black hole phase and very hard to hit

timeBoss, shooterBoss, orbitalBoss, laserTargetingBoss have "orbital armor"
  orbitals have less health and move a bit slower
  orbitalBoss is slower and has more health
blinkBoss does much less collision damage
laserTargetingBoss does 2.5x damage but it's laser is only on 1/2 the time

URL builds share what mode molecular assembler is on
This commit is contained in:
landgreen
2022-07-19 18:55:27 -07:00
parent b7adeb0617
commit f3a115b237
6 changed files with 206 additions and 179 deletions

View File

@@ -152,6 +152,12 @@ window.addEventListener('load', () => {
}
if (property === "level") document.getElementById("starting-level").value = Math.max(Number(set[property]) - 1, 0)
if (property === "noPower") document.getElementById("no-power-ups").checked = Number(set[property])
if (property === "molMode") {
simulation.molecularMode = Number(set[property])
const i = 4 //update experiment text
m.fieldUpgrades[i].description = m.fieldUpgrades[i].setDescription()
document.getElementById(`field-${i}`).innerHTML = `<div class="grid-title"><div class="circle-grid field"></div> &nbsp; ${build.nameLink(m.fieldUpgrades[i].name)}</div> ${m.fieldUpgrades[i].description}`
}
// if (property === "seed") {
// document.getElementById("seed").placeholder = Math.initialSeed = String(set[property])
// Math.seed = Math.abs(Math.hash(Math.initialSeed))
@@ -590,6 +596,13 @@ ${simulation.isCheating ? "<br><br><em>lore disabled</em>": ""}
}
}
}
url += `&molMode=${encodeURIComponent(simulation.molecularMode)}`
// if (property === "molMode") {
// simulation.molecularMode = Number(set[property])
// m.fieldUpgrades[i].description = m.fieldUpgrades[i].setDescription()
// document.getElementById(`field-${i}`).innerHTML = `<div class="grid-title"><div class="circle-grid field"></div> &nbsp; ${build.nameLink(m.fieldUpgrades[i].name)}</div> ${m.fieldUpgrades[i].description}`
// }
url += `&field=${encodeURIComponent(m.fieldUpgrades[m.fieldMode].name.trim())}`
url += `&difficulty=${simulation.difficultyMode}`
if (isCustom) {