I have a question about the TakeAwayHeroExp function, which removes experience from heroes. Has anyone encountered a bug where, after using this function, the hero receives experience, but their level remains the same? Under what conditions does this bug occur?
Added after 4 hours and 45 minutes
Perhaps the SetHeroesExpCoef function could have influenced this bug?
I have encountered this and even described it somewhere here. This function glitches if it removes experience from a hero while that hero is simultaneously gaining experience after a battle. In general, you need to add a pause using Sleep and only then remove the experience.
Пробуждение зла
Нашествие из Преисподней
Смена эпох
Скачать все кампании одним архивом: Яндекс.Диск Google.Диск
You can download the set of 3 Campaigns (English version) here
Одиночные сценарии Heroes V 3.1:
Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы
Мультиплеерные карты для Heroes V 3.1:
Легендарная война
Сердце вулкана
Передел мира