Base class npcbehavior