3. Gunnery
During the gunnery phase, gunners fire their starships’ weapons. Starships fire in the same order in which their pilots acted during that round’s helm phase, but the effects of damage are not taken into account until the end of the phase, meaning that all starships can fire, even if they take enough damage to be disabled or destroyed during this phase.
Once all of the phases have been resolved, if there are still combatants engaged in the fight, the next round begins, starting with a new engineering phase.
Source
Core Rulebook pg. 317