local units = GetAttackerCreatures();
for i, unit in units do
local unit_id = GetCreatureType(unit);
if (unit_id == CREATURE_LICH) then
-- что-нибудь сделать
end
end
Впервые здесь? Я Роха — провести быструю экскурсию?
local units = GetAttackerCreatures();
for i, unit in units do
local unit_id = GetCreatureType(unit);
if (unit_id == CREATURE_LICH) then
-- что-нибудь сделать
end
end