With a good lawyer, you can get off, or at least have an affordable bail if you kill the person solely out of self-defense. Most robberies are unarmed, so if you shoot a guy for being in your home when you could've just as easily run outside and call 911, you will most likely receive punishment...