mods
mod energy from damage, annaliation now requires negative mass field mod - spawn bots after killing mobs
This commit is contained in:
@@ -710,6 +710,10 @@ const game = {
|
||||
|
||||
if (!(mech.cycle % 60)) { //once a second
|
||||
|
||||
if (b.isModEnergyDamage) {
|
||||
document.getElementById("mod-capacitor").innerHTML = `(+${(mech.energy/0.05).toFixed(0)}%)`
|
||||
}
|
||||
|
||||
if (mech.lastKillCycle + 300 > mech.cycle) { //effects active for 5 seconds after killing a mob
|
||||
if (b.isModEnergyRecovery) {
|
||||
mech.energy += mech.fieldEnergyMax * 0.07
|
||||
|
||||
Reference in New Issue
Block a user