And you would be appropriately sent to jail for murder or attempted murder.
Nope. Shooting an obviously out-of-control thug on a rampage in your own home (which is presumably where one's pets are to be found) is clearcut self-defense. Any DA who would bring charges needs to be removed from office.