Auto-translated
Not very strong in combat scripts. I also encountered a similar problem, but I somehow managed without solving it. In general, I think it's better not to change the victory conditions in battle; nothing good will come of it anyway. For example: on the developers' map (campaign 6, mission 5, by the way, it's best to look at combat scripts there, as there were no more complex scripts in the entire game), the "banishment" spell allowed you to end the battle as soon as your hero's turn came, which is, to put it mildly, imbalanced.
By the way, I've been wanting to know for a long time where the scripts from the original Heroes 5 campaigns are located? I only find the campaigns from the 2nd add-on "Hammers of Fate" in data.pak, and there are no campaigns from the 3rd add-on "Tribes of the East" either.
Карты для Heroes V: Повелители орды:
Multiplayer: Господство, Извечное противостояние, Война за Магию, Торговая империя, Анатомия войны, Эксперимент
SingleScenario: Последний Рубеж, Трон, Элиралис, Вернуться домой!, Лабиринты разума
Campaign: Колонизация
Multiplayer: Господство, Извечное противостояние, Война за Магию, Торговая империя, Анатомия войны, Эксперимент
SingleScenario: Последний Рубеж, Трон, Элиралис, Вернуться домой!, Лабиринты разума
Campaign: Колонизация