function AlaricSpec()while 1 doif KnownHeroSpell("Alaric", SPELL_HASTE) thenTeachHeroSpell("Alaric", SPELL_SLOW)endsleep(1)endend
function AlaricSpec()
while 1 do
if KnowHeroSpell("Alaric", SPELL_HASTE) then
TeachHeroSpell("Alaric", SPELL_SLOW)
end
sleep(1)
end
end
startThread(AlaricSpec)The "Trigger not found" error in the console is not related to this code. You probably have an error in the trigger somewhere earlier, which interrupts the further execution of the script - including Alaric's specialization. Look for where you made a mistake in the trigger name!
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________