From cdf98c804a6a0fb34640ab5f8d8e8af65a4772e2 Mon Sep 17 00:00:00 2001 From: landgreen Date: Mon, 17 May 2021 05:52:37 -0700 Subject: [PATCH] fermions fermions: after a block is affected by pilot wave it collides with intangible mobs, but not you --- .DS_Store | Bin 6148 -> 6148 bytes js/level.js | 9 ++++++--- js/player.js | 19 +++++++++++++++++++ js/tech.js | 28 +++++++++++++++++++++++----- todo.txt | 11 ++++++----- 5 files changed, 54 insertions(+), 13 deletions(-) diff --git a/.DS_Store b/.DS_Store index b958507369882a6e6238f64481387195c38c0447..305f838e5b57dde0ad41c04d5f3a664fac61795d 100644 GIT binary patch delta 21 ccmZoMXffEJ#msc0X0i^mAEUwMYUWN608NVqs{jB1 delta 21 ccmZoMXffEJ#msa*f3gm 10000 && that !== m.holdingTarget) { + // that.collisionFilter.category = cat.body; //make solid + // that.collisionFilter.mask = cat.player | cat.map | cat.body | cat.bullet | cat.mob | cat.mobBullet; //can hit player now + // } else { + // setTimeout(solid, 40, that); + // } + // }; + // setTimeout(solid, 200, m.holdingTarget); + + + if (tech.isFreezeMobs) { for (let i = 0, len = mob.length; i < len; ++i) { if (Vector.magnitude(Vector.sub(mob[i].position, m.fieldPosition)) < m.fieldRadius) { diff --git a/js/tech.js b/js/tech.js index dc4872d..cfc6b6b 100644 --- a/js/tech.js +++ b/js/tech.js @@ -1489,9 +1489,9 @@ frequency: 4, frequencyDefault: 4, allowed() { - return tech.throwChargeRate > 1 && !tech.isNoHeals + return tech.throwChargeRate > 1 && !tech.isNoHeals && m.fieldUpgrades[m.fieldMode].name !== "pilot wave" }, - requires: "mass driver, not ergodicity", + requires: "mass driver, not ergodicity, pilot wave", effect() { tech.isBlockPowerUps = true }, @@ -5110,7 +5110,7 @@ allowed() { return m.fieldUpgrades[m.fieldMode].name === "pilot wave" }, - requires: "metamaterial cloaking", + requires: "pilot wave", effect() { tech.pilotForce = 0.0006 }, @@ -5118,6 +5118,24 @@ tech.pilotForce = 0.00002 } }, + { + name: "fermions", + description: "after a block is affected by pilot wave it
collides with intangible mobs, but not you", + isFieldTech: true, + maxCount: 1, + count: 0, + frequency: 2, + allowed() { + return m.fieldUpgrades[m.fieldMode].name === "pilot wave" + }, + requires: "pilot wave", + effect() { + tech.isBlockBullets = true + }, + remove() { + tech.isBlockBullets = false + } + }, { name: "cosmic string", description: "stun and do radioactive damage to mobs
if you tunnel through them with a wormhole", @@ -6711,11 +6729,11 @@ blockingIce: null, isPhaseVelocity: null, wavePacketLength: null, - isImaginaryWave: null, waveBeamSpeed: null, wavePacketAmplitude: null, waveLengthRange: null, isCollisionRealitySwitch: null, iceIXOnDeath: null, - wimpCount: null + wimpCount: null, + isBlockBullets: null } \ No newline at end of file diff --git a/todo.txt b/todo.txt index ad1005d..2768939 100644 --- a/todo.txt +++ b/todo.txt @@ -1,13 +1,14 @@ ******************************************************** NEXT PATCH ******************************************************** -pilot wave energy is back to it's old energy settings -tech: restitution - now only triggers power ups from blocks thrown by the player - (this makes pilot wave and naturally falling blocks not spawn power ups. flywheel will work if a block was thrown in the last 3 seconds) - -standing wave harmonic has reduced blocking recoil +fermions: after a block is affected by pilot wave it collides with intangible mobs, but not you ******************************************************** BUGS ******************************************************** +mine reclamation is giving mine ammo back after you fire, not after explode + +undefined count did not seem to reset between games + only display not reset + Why does micro-extruder lag so much anyway blue triangle boss can move backwards and aim away from you if set up properly