Root · Board game rules
If after ambush are no warriors left what happens even if they get bonus hits because the defender has no warriors
Quick answer
If an ambush card removes all of the attacker's warriors, the battle ends immediately—no dice are rolled, so the "defenseless extra hit" never applies.
Details
Ambush hits are resolved before the dice roll step of a battle [p.9 — Ambush Cards]. The rulebook states explicitly: "If an ambush card removes all of the attacker's warriors, the battle immediately ends" [p.9 — Ambush Cards].
The "extra hit" bonus for a defenseless faction is tied to the roll: "The attacker deals an extra hit if the defender has no warriors in the clearing of battle, leaving themselves defenseless" [p.8 — Battling]. This bonus is applied during the roll/hit-dealing step of the battle, not before it.
Since the ambush wipes out the attacker's warriors before dice are ever rolled, the battle sequence stops there—there is no roll, no hit allocation, and therefore no opportunity for any extra hit (defenseless or otherwise) to be applied. The battle simply concludes with the attacker's warriors removed.
Watch out: This also means that even if the defender was the one who was technically "defenseless" going into the battle (having no warriors themselves), playing an ambush that eliminates the attacker's warriors still just ends the battle outright—defenselessness on either side becomes irrelevant once the battle terminates before the roll [p.8 — Battling; p.9 — Ambush Cards].