Man attacked with hammer at senior living home