(a) It is unlawful, while any fire department or company or firefighter is lawfully exercising or discharging the department's, company's or firefighter's official duty during an emergency, for any person to:
(1) Attack any firefighter or any of his or her equipment with any deadly weapon as defined in section two, article seven, chapter sixty-one of this code; or