Auto-translated
Okay, let's simplify it for everyone. There's an error in your script. The error in my script was a single equals sign instead of two in the condition. To protect against such "terrible" typos (both mine and yours), I recommend reading the "Introduction to Lua" guide in the group files (it's in my signature). Ideally, you should at least understand the basics so you don't waste time on every syntax error.
Could you provide more specifics (I've already forgotten what your idea was)? Do you need a specific hero (Ilayia) to cast Lightning on all enemies at the start of any battle? And in battles involving the main villain (Nazir), not only should Ilayia cast Lightning, but Nazir should also cast Fireballs on all of Ilayia's creatures? All of this at the beginning of the battle, of course.
Could you provide more specifics (I've already forgotten what your idea was)? Do you need a specific hero (Ilayia) to cast Lightning on all enemies at the start of any battle? And in battles involving the main villain (Nazir), not only should Ilayia cast Lightning, but Nazir should also cast Fireballs on all of Ilayia's creatures? All of this at the beginning of the battle, of course.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________