2 more classic n-gon dates
added 2 more classic n-gon dates plasma ball does 10% more damage moves 20% faster targets mob bullets better standing wave has a 45/60->30/60 second cooldown after blocking a shielded mob but, standing wave now also triggers it's CD on shields that protect groups of mobs JUNK tech: Mech v4.48 removed JUNK tech: cosmogonic myth - opens a random classic version of n-gon in a new tab, after 5 minutes close the tab and spawn 1 of every tech bug fixes
This commit is contained in:
@@ -822,7 +822,8 @@ const simulation = {
|
||||
level.zones = [];
|
||||
simulation.drawList = [];
|
||||
|
||||
if (tech.isDronesTravel && player.alive) {
|
||||
if (tech.isDronesTravel && m.alive) {
|
||||
console.log('hi')
|
||||
//count drones
|
||||
let count = 0
|
||||
let deliveryCount = 0
|
||||
@@ -946,7 +947,7 @@ const simulation = {
|
||||
}
|
||||
}
|
||||
|
||||
if (m.pos.y > simulation.fallHeight || isNaN(player.position.x)) { // if 4000px deep
|
||||
if (m.pos.y > simulation.fallHeight) { // if 4000px deep
|
||||
Matter.Body.setVelocity(player, {
|
||||
x: 0,
|
||||
y: 0
|
||||
@@ -971,6 +972,7 @@ const simulation = {
|
||||
m.damage(0.1 * simulation.difficultyMode);
|
||||
m.energy -= 0.1 * simulation.difficultyMode
|
||||
}
|
||||
if (isNaN(player.position.x)) m.death();
|
||||
|
||||
// if (tech.isEnergyDamage) {
|
||||
// document.getElementById("tech-capacitor").innerHTML = `(+${(m.energy/0.05).toFixed(0)}%)`
|
||||
|
||||
Reference in New Issue
Block a user