foam wall collisions, Bayesian one choice
This commit is contained in:
@@ -162,7 +162,7 @@ function collisionChecks(event) {
|
||||
mob[k].foundPlayer();
|
||||
let dmg = Math.min(Math.max(0.025 * Math.sqrt(mob[k].mass), 0.05), 0.3) * game.dmgScale; //player damage is capped at 0.3*dmgScale of 1.0
|
||||
if (b.isModPiezo) {
|
||||
mech.energy = mech.fieldEnergyMax;
|
||||
mech.energy = mech.maxEnergy;
|
||||
dmg *= 0.85
|
||||
}
|
||||
mech.damage(dmg);
|
||||
|
||||
Reference in New Issue
Block a user