abiogenesis
tech: abiogenesis - spawn a second level boss on each level, but costs 5 research or if you don't have the research add 49 JUNK tech to the pool note to level builders I rewrote the add duplicate boss code in all levels: spawn.secondaryBossChance(x,y) foam tech: uncertainty principle - foam bullets change position randomly, increase foam damage by 66% throwing blocks now charges faster with reduced fire cooldown tech renormalization now has a 40% chance to refund a research (was 37%) performance- now precalculate player gradient fill
This commit is contained in:
@@ -119,6 +119,8 @@ window.addEventListener('load', () => {
|
||||
const canvas = document.getElementById("canvas");
|
||||
//using "const" causes problems in safari when an ID shares the same name.
|
||||
const ctx = canvas.getContext("2d");
|
||||
// const ctx = canvas.getContext('2d', { alpha: false }); //optimization, but doesn't work
|
||||
|
||||
document.body.style.backgroundColor = "#fff";
|
||||
|
||||
//disable pop up menu on right click
|
||||
@@ -195,7 +197,7 @@ const build = {
|
||||
${simulation.isCheating? "<em>lore disabled</em><br><br>": ""}
|
||||
<strong class='color-d'>damage</strong> increase: ${((tech.damageFromTech()-1)*100).toFixed(0)}%
|
||||
<br><strong class='color-harm'>harm</strong> reduction: ${harm.toFixed(harm > 90 ? 2 : 0)}%
|
||||
<br><strong><em>fire delay</em></strong> decrease: ${((1-b.fireCD)*100).toFixed(b.fireCD < 0.1 ? 2 : 0)}%
|
||||
<br><strong><em>fire delay</em></strong> decrease: ${((1-b.fireCDscale)*100).toFixed(b.fireCDscale < 0.1 ? 2 : 0)}%
|
||||
<br><strong class='color-dup'>duplication</strong> chance: ${(Math.min(1,tech.duplicationChance())*100).toFixed(0)}%
|
||||
${botText}
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user