make the npcs less annoying

This commit is contained in:
biglyderv 2024-11-25 14:14:20 -05:00
parent 656f06291c
commit 3ce6ded308
2 changed files with 6 additions and 2 deletions

View file

@ -83,6 +83,7 @@ class Player {
if (Math.sqrt(dist) < 128 && 1 / dp < -0.2) {
if (target.type == 'NPC' && velness > 0.2) {
ent.isMenu = true;
ent.rot = 1.2;
}
if (target.immortal) continue;