mod - impact shear
mod - negative mass field: 80%->90% harm reduction while active, but 2x energy drain
mod - mobs fire nails when they die (by Francois 👑 from discord)
This commit is contained in:
11
js/player.js
11
js/player.js
@@ -1461,9 +1461,16 @@ const mech = {
|
||||
} else if ((keys[32] || game.mouseDownRight) && mech.fieldCDcycle < mech.cycle) { //push away
|
||||
mech.grabPowerUp();
|
||||
mech.lookForPickUp();
|
||||
const DRAIN = 0.00035
|
||||
let DRAIN = 0.00105;
|
||||
if (mech.energy > DRAIN) {
|
||||
mech.fieldDamageResistance = 0.2; // 1 - 0.8
|
||||
if (b.isModHarmReduce) {
|
||||
mech.fieldDamageResistance = 0.1; // 1 - 0.9
|
||||
DRAIN = 0.0007 //2x energy drain
|
||||
} else {
|
||||
mech.fieldDamageResistance = 0.2; // 1 - 0.8
|
||||
DRAIN = 0.00035
|
||||
}
|
||||
|
||||
// mech.pushMobs360();
|
||||
|
||||
//repulse mobs
|
||||
|
||||
Reference in New Issue
Block a user