perfect diamagnetism adjustments
This commit is contained in:
@@ -999,24 +999,6 @@ const b = {
|
|||||||
b.modLaserFieldDrain = 0.002;
|
b.modLaserFieldDrain = 0.002;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "perfect diamagnetism",
|
|
||||||
description: "you <strong>don't</strong> lose <strong class='color-f'>energy</strong> when <strong>blocking</strong><br>with <strong>nano-scale manufacturing</strong>",
|
|
||||||
maxCount: 1,
|
|
||||||
count: 0,
|
|
||||||
allowed() {
|
|
||||||
return mech.fieldUpgrades[mech.fieldMode].name === "nano-scale manufacturing"
|
|
||||||
},
|
|
||||||
requires: "nano-scale manufacturing",
|
|
||||||
effect() {
|
|
||||||
b.modFieldEfficiency = 0
|
|
||||||
mech.fieldShieldingScale = b.modFieldEfficiency;
|
|
||||||
},
|
|
||||||
remove() {
|
|
||||||
b.modFieldEfficiency = 1;
|
|
||||||
if (mech.fieldUpgrades[mech.fieldMode].name === "nano-scale manufacturing") mech.fieldShieldingScale = b.modFieldEfficiency;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: "plasma jet",
|
name: "plasma jet",
|
||||||
description: "increase <strong>plasma torch's</strong> range by <strong>33%</strong>",
|
description: "increase <strong>plasma torch's</strong> range by <strong>33%</strong>",
|
||||||
@@ -1067,6 +1049,24 @@ const b = {
|
|||||||
mech.fieldShieldingScale = 1;
|
mech.fieldShieldingScale = 1;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "perfect diamagnetism",
|
||||||
|
description: "you <strong>don't</strong> lose <strong class='color-f'>energy</strong> when <strong>blocking</strong><br>with <strong>nano-scale manufacturing</strong>",
|
||||||
|
maxCount: 1,
|
||||||
|
count: 0,
|
||||||
|
allowed() {
|
||||||
|
return mech.fieldUpgrades[mech.fieldMode].name === "nano-scale manufacturing"
|
||||||
|
},
|
||||||
|
requires: "nano-scale manufacturing",
|
||||||
|
effect() {
|
||||||
|
b.modFieldEfficiency = 0
|
||||||
|
mech.fieldShieldingScale = b.modFieldEfficiency;
|
||||||
|
},
|
||||||
|
remove() {
|
||||||
|
b.modFieldEfficiency = 1;
|
||||||
|
if (mech.fieldUpgrades[mech.fieldMode].name === "nano-scale manufacturing") mech.fieldShieldingScale = b.modFieldEfficiency;
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "mycelium manufacturing",
|
name: "mycelium manufacturing",
|
||||||
description: "<strong>nano-scale manufacturing</strong> is repurposed<br>excess <strong class='color-f'>energy</strong> used to grow <strong style='letter-spacing: 2px;'>spores</strong>",
|
description: "<strong>nano-scale manufacturing</strong> is repurposed<br>excess <strong class='color-f'>energy</strong> used to grow <strong style='letter-spacing: 2px;'>spores</strong>",
|
||||||
|
|||||||
@@ -15,8 +15,8 @@ const level = {
|
|||||||
if (level.levelsCleared === 0) {
|
if (level.levelsCleared === 0) {
|
||||||
// level.difficultyIncrease(9)
|
// level.difficultyIncrease(9)
|
||||||
// b.giveGuns("wave beam")
|
// b.giveGuns("wave beam")
|
||||||
mech.setField("phase decoherence field")
|
// mech.setField("phase decoherence field")
|
||||||
b.giveMod("quantum dissipation");
|
// b.giveMod("quantum dissipation");
|
||||||
// b.giveMod("reflective cavity");
|
// b.giveMod("reflective cavity");
|
||||||
|
|
||||||
level.intro(); //starting level
|
level.intro(); //starting level
|
||||||
|
|||||||
@@ -25,14 +25,12 @@ const powerUps = {
|
|||||||
game.isChoosing = false; //stops p from un pausing on key down
|
game.isChoosing = false; //stops p from un pausing on key down
|
||||||
requestAnimationFrame(cycle);
|
requestAnimationFrame(cycle);
|
||||||
},
|
},
|
||||||
isCanceledField: false,
|
|
||||||
cancel(what) {
|
cancel(what) {
|
||||||
document.body.style.cursor = "none";
|
document.body.style.cursor = "none";
|
||||||
document.getElementById("choose-grid").style.display = "none"
|
document.getElementById("choose-grid").style.display = "none"
|
||||||
document.getElementById("choose-background").style.display = "none"
|
document.getElementById("choose-background").style.display = "none"
|
||||||
game.paused = false;
|
game.paused = false;
|
||||||
game.isChoosing = false; //stops p from un pausing on key down
|
game.isChoosing = false; //stops p from un pausing on key down
|
||||||
if (what === "field") powerUps.isCanceledField = true;
|
|
||||||
requestAnimationFrame(cycle);
|
requestAnimationFrame(cycle);
|
||||||
},
|
},
|
||||||
showDraft() {
|
showDraft() {
|
||||||
@@ -250,7 +248,7 @@ const powerUps = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
spawnBossPowerUp(x, y) { //boss spawns field and gun mod upgrades
|
spawnBossPowerUp(x, y) { //boss spawns field and gun mod upgrades
|
||||||
if (mech.fieldMode === 0 && !powerUps.isCanceledField) {
|
if (mech.fieldMode === 0) {
|
||||||
powerUps.spawn(x, y, "field")
|
powerUps.spawn(x, y, "field")
|
||||||
if (Math.random() < b.isModBayesian) powerUps.spawn(x, y, "field")
|
if (Math.random() < b.isModBayesian) powerUps.spawn(x, y, "field")
|
||||||
} else if (Math.random() < 0.80) {
|
} else if (Math.random() < 0.80) {
|
||||||
|
|||||||
6
todo.txt
6
todo.txt
@@ -1,13 +1,13 @@
|
|||||||
************** TODO - n-gon **************
|
************** TODO - n-gon **************
|
||||||
|
|
||||||
|
mod - lose your field, gain a gun and some ammo
|
||||||
|
gain two guns?
|
||||||
|
|
||||||
mod - vacuum bomb pulls shields off the mob
|
mod - vacuum bomb pulls shields off the mob
|
||||||
or just greatly damages shields during the suck phase if the pulling doesn't work
|
or just greatly damages shields during the suck phase if the pulling doesn't work
|
||||||
mod - vacuum bomb stuns after the explosion
|
mod - vacuum bomb stuns after the explosion
|
||||||
maybe it also does DoT damage
|
maybe it also does DoT damage
|
||||||
|
|
||||||
mod - improve blocking with nano-scale is more efficient
|
|
||||||
like perfect diamagnetism maybe
|
|
||||||
|
|
||||||
mod - time dilation - Quantum Recovery
|
mod - time dilation - Quantum Recovery
|
||||||
Expending all your energy while using the field will
|
Expending all your energy while using the field will
|
||||||
cause the player to go back in time to 3 seconds before the field was activated
|
cause the player to go back in time to 3 seconds before the field was activated
|
||||||
|
|||||||
Reference in New Issue
Block a user