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

@@ -701,8 +701,8 @@ const spawn = {
}
me.onHit = function() { //run this function on hitting player
powerUps.ejectTech()
powerUps.spawn(m.pos.x, m.pos.y, "heal");
powerUps.spawn(m.pos.x, m.pos.y, "heal");
powerUps.spawn(m.pos.x + 60 * (Math.random() - 0.5), m.pos.y + 60 * (Math.random() - 0.5), "ammo");
powerUps.spawn(m.pos.x + 60 * (Math.random() - 0.5), m.pos.y + 60 * (Math.random() - 0.5), "research");
};
me.onDeath = function() {
this.leaveBody = false;