change: torpor - if you have NOT killed a mob in the last 5 seconds reduce harm by 66% (no negative effect though)
This commit is contained in:
landgreen
2021-11-21 07:35:08 -08:00
parent d68ca63695
commit 677989dd02
3 changed files with 23 additions and 30 deletions

View File

@@ -506,7 +506,7 @@ const m = {
if (tech.isFieldHarmReduction) dmg *= 0.5
if (tech.isHarmMACHO) dmg *= 0.33
if (tech.isImmortal) dmg *= 0.66
if (tech.isHarmReduceNoKill) dmg *= (m.lastKillCycle + 300 < m.cycle) ? 0.28 : 1.1
if (tech.isHarmReduceNoKill && m.lastKillCycle + 300 < m.cycle) dmg *= 0.33
if (tech.healthDrain) dmg *= 1 + 3.33 * tech.healthDrain //tech.healthDrain = 0.03 at one stack //cause more damage
if (tech.squirrelFx !== 1) dmg *= 1 + (tech.squirrelFx - 1) / 5 //cause more damage
if (tech.isAddBlockMass && m.isHolding) dmg *= 0.15

View File

@@ -601,7 +601,7 @@
tech.isCrouchAmmo = true
},
remove() {
tech.isExtraChoice = false;
tech.isCrouchAmmo = false;
}
},
{
@@ -1506,7 +1506,7 @@
{
name: "dynamo-bot upgrade",
link: `<a target="_blank" href='https://en.wikipedia.org/wiki/Robot' class="link">dynamo-bot upgrade</a>`,
description: "<strong>convert</strong> your current bots to <strong>dynamo-bots</strong><br>increase regen to <strong>19</strong> <strong class='color-f'>energy</strong> per second",
description: "<strong>convert</strong> your current bots to <strong>dynamo-bots</strong><br>increase regen to <strong>20</strong> <strong class='color-f'>energy</strong> per second",
maxCount: 1,
count: 0,
frequency: 3,
@@ -2545,7 +2545,7 @@
},
{
name: "Maxwell's demon",
description: "<strong class='color-f'>energy</strong> above your max decays <strong>92%</strong> slower<br><strong>+18%</strong> <strong class='color-j'>JUNK</strong> to the potential <strong class='color-m'>tech</strong> pool",
description: "<strong class='color-f'>energy</strong> above your max decays <strong>95%</strong> slower<br><strong>+10%</strong> <strong class='color-j'>JUNK</strong> to the potential <strong class='color-m'>tech</strong> pool",
maxCount: 1,
count: 0,
frequency: 2,
@@ -2555,8 +2555,8 @@
},
requires: "energy above your max",
effect() {
tech.overfillDrain = 0.85 //70% = 1-(1-0.75)/(1-0.15) //92% = 1-(1-0.75)/(1-0.87)
this.refundAmount += tech.addJunkTechToPool(0.18)
tech.overfillDrain = 0.92 //70% = 1-(1-0.75)/(1-0.15) //92% = 1-(1-0.75)/(1-0.87)
this.refundAmount += tech.addJunkTechToPool(0.1)
},
refundAmount: 0,
remove() {
@@ -2664,7 +2664,7 @@
},
{
name: "torpor",
description: "if a mob has <strong>not died</strong> in the last <strong>5 seconds</strong><br>reduce <strong class='color-harm'>harm</strong> by <strong>72%</strong> else increase it by <strong>10%</strong>",
description: "if a mob has <strong>not died</strong> in the last <strong>5 seconds</strong><br>reduce <strong class='color-harm'>harm</strong> by <strong>66%</strong>",
maxCount: 1,
count: 0,
frequency: 1,
@@ -4931,14 +4931,14 @@
name: "fault tolerance",
description: "spawn <strong>8</strong> <strong>drones</strong> that last <strong>forever</strong><br>remove your <strong>drone gun</strong>",
isGunTech: true,
maxCount: 3,
maxCount: 1,
count: 0,
frequency: 2,
frequencyDefault: 2,
frequency: 1,
frequencyDefault: 1,
allowed() {
return tech.haveGunCheck("drones", false) || tech.isForeverDrones
return tech.haveGunCheck("drones", false)
},
requires: "drones, fault tolerance",
requires: "drones",
effect() {
const num = 8
tech.isForeverDrones += num
@@ -8552,7 +8552,10 @@
},
requires: "at least 4 research",
effect() {
for (let i = 0; i < powerUps.research.count; i++) powerUps.directSpawn(m.pos.x + 160 * (Math.random() - 0.5), m.pos.y + 160 * (Math.random() - 0.5), "research");
const dist = 10 * powerUps.research.count + 100
for (let i = 0; i < powerUps.research.count; i++) {
powerUps.directSpawn(m.pos.x + dist * (Math.random() - 0.5), m.pos.y + dist * (Math.random() - 0.5), "research");
}
powerUps.research.count = 0
},
remove() {}

View File

@@ -1,26 +1,16 @@
******************************************************** NEXT PATCH **************************************************
tech: Occam's razor - remove 50% of your tech and guns; `for each removed get 36% damage
change: torpor - if you have NOT killed a mob in the last 5 seconds reduce harm by 66% (no negative effect though)
tech dormancy removed
tech: predator - if you have killed a mob in the last 5 seconds increase damage by 50% and disable energy regen
tech: torpor - gives the opposite of it's previous effect
if you have NOT killed a mob in the last 5 seconds reduce harm by 72%, else increase it by 10%
relativistic momentum - pushes blocks in addition to mobs
not much benefit, but it's fun
supply chain: still doubles ammo, but now also adds 5% JUNK (yay)
it no longer has any tech requirements
inductive coupling: 600% -> 700% regen while crouched
JUNK tech: density - blocks are 100x times less dense
tech descriptions can change their text dynamically now
only a few tech are using this option so far
******************************************************** TODO ********************************************************
if a mob has died in the last 5 seconds 100% damage and no energy regen
reduce some common in game console triggers, but lengthen default console time
don't log ammo?
don't log health
cap length of console?
tech if you are inside the MACHO halo get a benefit
dart: a new bullet type for string-less harpoons
can turn harder