being armed or willing to defend your home isn´t a deterrent untill to the very last point, i wouldn´t recommend engaging with a criminal, it could work out, sure, there are plenty of stories where it worked, but there are an equal number of stories where it didn´t
criminals in general already know that they´re doing something unlawful and are willing to take that risk, now depending on their experience and intellect they come prepared or unprepared, both are almost equally dangerous
homeowners shouldn´t have more rights than any other person on the street defending themself