Skip to content
User Avatar
#2082
Auto-translated
RedHeavenHero
1)
function CheckMana()
while GetHeroStat("hero_name", STAT_MANA_POINTS) >= 10 do
sleep(5)
end
Loose()
end

startThread(CheckMana)
But what if the mana decreases during a battle and then is replenished with a spell? Wouldn't the script not work then?
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...

Statistics

Welcome our newest member: Фёдор Фёдорович