(A) The firing of a firearm in the direction of the person to be arrested, even though no intent exists to kill or inflict great bodily harm; and
(B) The firing of a firearm at a vehicle in which the person to be arrested is riding.
(ILCS Chapter 720, Act 5, § 7-8) (1981 Code, § 42.07, 7-8)