Auto-translated
So, comrades, you'll drive me crazy with your questions!
In short:
You can leave three heroes! Moreover, the skills of the "stuck" hero, the main hero, and the hero who makes the last action can be taken into account when calculating the results.
Sincerely.
P.S. If I see even one more question on this topic, beware, I'm terrible when I'm angry! :D