make the npcs less annoying
This commit is contained in:
parent
656f06291c
commit
3ce6ded308
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue