reactor reactions
automonous navigation -> path integration
sends spores and worms and drones to the next level with you
MIRV gives 10->12% smaller radius and damage
laser tech slow light has 33% less spacing
tech exciton gives 70%->88% damage
discrete optimization: 40%->35% damage and fire delay
degenerate matter 60->66% harm reduction while field is active
virtual particles 15% duplication is now allowed for time dilation
railgun no longer uses extra ammo when firing multiple bullets with smelting
smelting now costs more ammo with railgun
plasma torch, ball, extruder all use 33% less energy, do 15% more damage
bremsstrahlung does 15% more damage
standing wave field gives 50 energy
it's cooldown for blocking shields in now 0.5->0.33 s
reactor
fight now starts when you press a button, so you can prep
spawns more ammo 4->7, heals 0->2
will no longer show up on levels 2,3,4
fewer bosses spawn at high difficulty levels
has a small chance to spawn all 3 boss types
sprayBoss is 25% slower, but it goes immune while spraying instead of shielding
community maps have a short message onload giving credit to the author
new level element balance - it's basically spinners and rotors combined
I'm replacing all rotors to fix potential BUGS
sewers, house, perplex, vats
requirement text bug fixes
This commit is contained in:
@@ -823,24 +823,29 @@ const simulation = {
|
||||
simulation.drawList = [];
|
||||
|
||||
if (tech.isDronesTravel && m.alive) {
|
||||
console.log('hi')
|
||||
//count drones
|
||||
let count = 0
|
||||
let sporeCount = 0
|
||||
let wormCount = 0
|
||||
let deliveryCount = 0
|
||||
for (let i = 0; i < bullet.length; ++i) {
|
||||
if (bullet[i].isDrone) {
|
||||
count++
|
||||
if (bullet[i].isImproved) deliveryCount++
|
||||
} else if (bullet[i].isSpore) {
|
||||
sporeCount++
|
||||
} else if (bullet[i].wormSize) {
|
||||
wormCount++
|
||||
}
|
||||
}
|
||||
// count *= 2
|
||||
|
||||
//respawn drones in animation frame
|
||||
let respawnDrones = () => {
|
||||
if (count > 0) {
|
||||
requestAnimationFrame(respawnDrones);
|
||||
if (!simulation.paused && !simulation.isChoosing) {
|
||||
count--
|
||||
const where = { x: level.enter.x + 50, y: level.enter.y - 60 }
|
||||
count--
|
||||
if (tech.isDroneRadioactive) {
|
||||
b.droneRadioactive({ x: where.x + 100 * (Math.random() - 0.5), y: where.y + 100 * (Math.random() - 0.5) }, 0)
|
||||
} else {
|
||||
@@ -859,6 +864,32 @@ const simulation = {
|
||||
}
|
||||
}
|
||||
requestAnimationFrame(respawnDrones);
|
||||
|
||||
//respawn spores in animation frame
|
||||
let respawnSpores = () => {
|
||||
if (sporeCount > 0) {
|
||||
requestAnimationFrame(respawnSpores);
|
||||
if (!simulation.paused && !simulation.isChoosing) {
|
||||
sporeCount--
|
||||
const where = { x: level.enter.x + 50, y: level.enter.y - 60 }
|
||||
b.spore({ x: where.x + 100 * (Math.random() - 0.5), y: where.y + 120 * (Math.random() - 0.5) })
|
||||
}
|
||||
}
|
||||
}
|
||||
requestAnimationFrame(respawnSpores);
|
||||
|
||||
//respawn worms in animation frame
|
||||
let respawnWorms = () => {
|
||||
if (wormCount > 0) {
|
||||
requestAnimationFrame(respawnWorms);
|
||||
if (!simulation.paused && !simulation.isChoosing) {
|
||||
wormCount--
|
||||
const where = { x: level.enter.x + 50, y: level.enter.y - 60 }
|
||||
b.worm({ x: where.x + 100 * (Math.random() - 0.5), y: where.y + 120 * (Math.random() - 0.5) })
|
||||
}
|
||||
}
|
||||
}
|
||||
requestAnimationFrame(respawnWorms);
|
||||
}
|
||||
|
||||
function removeAll(array) {
|
||||
|
||||
Reference in New Issue
Block a user