And here's another question, for example, to pass through the gates of a neutral or enemy army, you can set in the map editor that a squad contains no more than 999 creatures, and there are 7 squads. Is it possible to somehow make it so that one squad has 2000 creatures???? And all the creatures together are 14000???
If possible, then how? Although I know it can be done with scripts!!! Please write such a script for me and explain where to insert it!!! Thank you for your attention and answers!!!!
Regarding skills, there are two functions: HasHeroSkill(hero name, skill ID) and GiveHeroSkill, as well as a trigger for leveling up (HERO_LEVELUP_TRIGGER). That is, if you are not lazy, you can create this trigger, use it to track whether the hero has leveled up, check what he took when leveling up, remove this skill from him, and replace it with the one you need. Although, I think it's unlikely to be worth it.
I will move the topic; it doesn't belong here.