Auto-translated
Encountered a strange issue. A script adds creatures based on the difficulty level. But for some reason, it was outputting incorrect numbers, not the ones I intended. I wrote "print(diff)", and for some reason, it always outputted "2" regardless of the difficulty. I checked in other maps – the same thing happened. Either something is broken in the game, or in the map... I decided to replace "DIFFICULTY_EASY" etc. with numbers (4 - "Recruit", 1 - "Hero"). It seems to be working now. But I'm surprised by this, as everything was normal before.
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"
Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"
Кампания для "Кодекса Войны"
"Выбор Сагиттеля"