resonance
tech: resonance - when a block gets vibrated by phonon, it has a chance to spin towards mobs cross disciplinary gives 4% duplication boson composite lets you move through elevators again JUNK tech: microtransactions - buy in-game skins for 1 research anytime you choose a tech bug fixes
This commit is contained in:
@@ -1391,8 +1391,11 @@ const mobs = {
|
||||
mob.splice(i, 1);
|
||||
if (tech.isMobBlockFling) {
|
||||
const who = body[body.length - 1]
|
||||
b.targetedBlock(who)
|
||||
Matter.Body.setAngularVelocity(who, (0.5 + 0.2 * Math.random()) * (Math.random() < 0.5 ? -1 : 1));
|
||||
if (!who.isNotHoldable) {
|
||||
b.targetedBlock(who)
|
||||
Matter.Body.setAngularVelocity(who, (0.5 + 0.2 * Math.random()) * (Math.random() < 0.5 ? -1 : 1));
|
||||
// who.torque += who.inertia * 0.002 * (Math.random() - 0.5)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Matter.Composite.remove(engine.world, this);
|
||||
|
||||
Reference in New Issue
Block a user