additive manufacturing
community map ace by Richard0820 field tech: additive manufacturing - crouch while activating your field to print a throwable block blocks 80% faster and 80% more dense/more damage molecular assembler, pilot wave inflation: 85->90% defense, 300->200% larger blocks buckling: can spawn boosts or coupling in addition to heals, ammo, and research
This commit is contained in:
10
js/engine.js
10
js/engine.js
@@ -286,13 +286,9 @@ function collisionChecks(event) {
|
||||
|
||||
mob[k].damage(dmg, true);
|
||||
if (tech.isBlockPowerUps && !mob[k].alive && mob[k].isDropPowerUp && m.throwCycle > m.cycle) {
|
||||
let type = tech.isEnergyNoAmmo ? "heal" : "ammo"
|
||||
if (Math.random() < 0.4) {
|
||||
type = "heal"
|
||||
} else if (Math.random() < 0.4 && !tech.isSuperDeterminism) {
|
||||
type = "research"
|
||||
}
|
||||
powerUps.spawn(mob[k].position.x, mob[k].position.y, type);
|
||||
options = ["coupling", "boost", "heal", "research"]
|
||||
if (!tech.isEnergyNoAmmo) options.push("ammo")
|
||||
powerUps.spawn(mob[k].position.x, mob[k].position.y, options[Math.floor(Math.random() * options.length)]);
|
||||
}
|
||||
|
||||
const stunTime = dmg / Math.sqrt(obj.mass)
|
||||
|
||||
Reference in New Issue
Block a user