After resolving the “Space Cannon Offense” step of a tactical action, if two players have ships in the active system, those players must resolve a space combat.
The steps are: STEP 1 — ANTI-FIGHTER BARRAGE: If this is the first round of a space combat, the players may simultaneously use the “Anti-Fighter Barrage” ability of any of their units in the active system; STEP 2 — ANNOUNCE RETREATS: Each player may announce a retreat, beginning with the defender; STEP 3 — ROLL DICE: Each player rolls one die for each ship they have in the active system; this is called a combat roll; STEP 4 — ASSIGN HITS: Each player in the combat must choose and destroy one of their own ships in the active system for each hit their opponent produced; STEP 5 — RETREAT: If a player announced a retreat during step 2, and there is still an eligible system for their units to retreat to, they must retreat.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.