Auto-translated
That's an interesting idea. The maximum hero level can be set in the map properties, not through scripts, but as a map property, and it can be changed with a couple of clicks in the editor. However, this is all in TE; I can't say for sure about the vanilla version.