I would do the same. My problem is in California you are not allowed to protect yourself with a gun and would be charged with discharging a weapon and manslaughter. Would end up in jail after a huge trial and my total destruction. In spite, I would promise the weapon would be enough that the ass holes would be dead on the spot.
I don't know where you came up with this BS but in CA you can indeed shoot someone who breaks into your home. You can't shoot them in the back as they are running away and you can't chase them outside and then shoot them, but you are certainly within your legal rights to shoot anyone who breaks in. Get a clue and know your law before some home invader kills you because you think you shoot them.