There is no panacea answer to this.
Restrictions on magazine size, and assault weapon ban are okay with me, although I doubt they will make much difference.
Likely unpopular with the left, but Dayton proved the best answer is a trained person with a gun to take the asshole out. Luckily, cops right there for that one.