created mob attk behavior and fixed errors