nano scale Manufacturing balance

This commit is contained in:
landgreen
2019-09-18 06:03:13 -07:00
parent 9187ced17d
commit f36bf2ebb2
4 changed files with 34 additions and 6 deletions

View File

@@ -207,7 +207,7 @@ const b = {
knock = Matter.Vector.mult(Matter.Vector.normalise(sub), (-Math.sqrt(dmg * damageScale) * mob[i].mass) / 18);
mob[i].force.x += knock.x;
mob[i].force.y += knock.y;
damageScale *= 0.7 //reduced damage for each additional explosion target
damageScale *= 0.8 //reduced damage for each additional explosion target
} else if (!mob[i].seePlayer.recall && dist < alertRange) {
mob[i].locatePlayer();
knock = Matter.Vector.mult(Matter.Vector.normalise(sub), (-Math.sqrt(dmg * damageScale) * mob[i].mass) / 35);