font spacing, gun discriptions, game balance

This commit is contained in:
landgreen
2019-10-07 06:51:31 -07:00
parent 99813abf79
commit 868a8a3e89
9 changed files with 191 additions and 164 deletions

View File

@@ -96,7 +96,7 @@ const mobs = {
gravity() {
this.force.y += this.mass * this.g;
},
seePlayerFreq: 20 + Math.round(Math.random() * 20), //how often NPC checks to see where player is, lower numbers have better vision
seePlayerFreq: Math.round((30 + 30 * Math.random()) * game.lookFreqScale), //how often NPC checks to see where player is, lower numbers have better vision
foundPlayer() {
this.locatePlayer();
if (!this.seePlayer.yes) {