add logic so npcs can fight back
add part of npc movement logic. partially implement fleeing logic
finish npc fleeing logic, fix bug so newly signed on players subscribe to events published by already-connected players