mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-08 23:07:46 +07:00
NPCs will now go to neutral mode when interacted with
This commit is contained in:
@ -56,6 +56,7 @@ public class Npc extends AI {
|
||||
|
||||
actionTimer = Float.POSITIVE_INFINITY;
|
||||
actionPerformed = false;
|
||||
entity.setMode(Monster.MODE_NU);
|
||||
entity.target().set(entity.position());
|
||||
entity.lookAt(gameScreen.player);
|
||||
entity.update(0);
|
||||
|
Reference in New Issue
Block a user