local units = GetAttackerCreatures();
for i, unit in units do
local unit_id = GetCreatureType(unit);
if (unit_id == CREATURE_LICH) then
-- do something
end
end
New here? I'm Roha — want a quick tour?
local units = GetAttackerCreatures();
for i, unit in units do
local unit_id = GetCreatureType(unit);
if (unit_id == CREATURE_LICH) then
-- do something
end
end