I'm mixed on this, between the drugs, attacking the cop, and taking the weapon, this guy is pretty much signing his own death warrant. Anyone would realize you're putting your life in grave danger after doing all of that.
At the same time, I feel at *that* very second they didn't need to shoot him. Like if he was going to try to escape into the building, I could understand shooting him in that scenario as he could take a hostage or just put some innocent person's life in danger. But at that very moment he was just slowly walking away, I think the cops could've waited a little longer before shooting. Or maybe just fire one shot here? I dunno, I know for the cops being put in this type of situation has to be awful and most people, even police, are not going to be thinking rationally after just getting attacked by a criminal who just assaulted someone else earlier.