Skip to content
User Avatar
#1776
Auto-translated
Winner
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.
This error also occurred on my home computer. I reinstalled the game, but I still don't understand what's happening. Has anyone else encountered this?
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"

Statistics

Welcome our newest member: leyu