new level - flocculation

new level - flocculation

snakeBoss does 40% less damage to player
This commit is contained in:
landgreen
2024-07-19 16:34:01 -07:00
parent fc70dfee2f
commit 5eae070238
6 changed files with 438 additions and 130 deletions

View File

@@ -7,7 +7,7 @@ const spawn = {
"powerUpBoss", "powerUpBossBaby", "streamBoss", "pulsarBoss", "spawnerBossCulture", "grenadierBoss", "growBossCulture", "blinkBoss",
"snakeSpitBoss", "laserBombingBoss", "blockBoss", "revolutionBoss", "slashBoss", "shieldingBoss",
"timeSkipBoss", "dragonFlyBoss", "beetleBoss", "sneakBoss", "mantisBoss", "laserLayerBoss",
"snakeBoss",
"snakeBoss"
],
bossTypeSpawnOrder: [], //preset list of boss names calculated at the start of a run by the randomSeed
bossTypeSpawnIndex: 0, //increases as the boss type cycles
@@ -3963,7 +3963,7 @@ const spawn = {
for (let i = 0; i < this.history.length - 1; i++) {
if (Matter.Query.ray([player], this.history[i], this.history[i + 1], 10).length > 0) {
m.immuneCycle = m.cycle + m.collisionImmuneCycles + 60
const dmg = 0.25 * simulation.dmgScale
const dmg = 0.15 * simulation.dmgScale
m.damage(dmg);
simulation.drawList.push({ //add dmg to draw queue
x: m.pos.x,