Skip to content
User Avatar
#3433
Auto-translated
Why not simplify the script and use mass casts? UnitCastGlobalSpell(GetAttackerHero(), SPELL_MASS_BLESS).
function Start()
local mana = GetUnitManaPoints(GetAttackerHero())
SetUnitManaPoints(GetAttackerHero(), 200)
sleep(1)
UnitCastGlobalSpell(GetAttackerHero(), SPELL_MASS_BLESS)
sleep(1)
end

Your script probably lacks sleep commands within the for loop; after all, casting functions take time to execute, and it's a noticeable amount of time.

С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________