Auto-translated
Where did you download the patch from?
New here? I'm Roha — want a quick tour?
No, everything works as it did before installing the patch and before installing the mod. But when you combine them, these strange problems start to appear.
hero11 = GetPlayerHeroes (1) --- find out the number of heroes for player 1 and save it in a variable. 1 is the player number, you can set it to the player you are playing as
hero1 = hero11[0] -- calls the zero value of the variable, i.e. names the first hero of player 1 from the hero11 array, which we obtained earlier. If Kha-Beleth is not your first hero, you can change the value in the square brackets
ChangeHeroStat (hero1, 7, 10000) --- and there should be no quotes around the hero.