bug fixes and balance

This commit is contained in:
landgreen
2020-01-08 17:55:17 -08:00
parent e63367d103
commit 9c2433d50d
5 changed files with 32 additions and 32 deletions

View File

@@ -1020,7 +1020,7 @@ const mobs = {
body[len].collisionFilter.mask = cat.player | cat.map | cat.body | cat.bullet | cat.mob | cat.mobBullet;
//large mobs or too many bodies go intangible and fall until removed from game to help performance
if (body[len].mass > 10 || 40 + 30 * Math.random() < body.length) {
if (body[len].mass > 10 || 45 + 10 * Math.random() < body.length) {
body[len].collisionFilter.mask = cat.player | cat.bullet | cat.mob | cat.mobBullet;
}
body[len].classType = "body";