zz_y7.filter_only_live_mobs = function (hit,temp,output)
if (hit > 0) then
local count = 0
for _,c in ipairs(temp) do
---@type MobComponent
local mob = c.Entity.MobComponent
if (mob.Hp > 0) then
continue
end
count += 1
output[#output + 1] = mob
end
if (count > 0) then
return count
end
end
return 0
end
이렇게 해라
제목 | 작성자 | 작성일 | 조회 | |
---|---|---|---|---|
공지 | 게시판 이용 안내+144 | 10-20 | 19899 | |
59886 | 00:22 | 30 | ||
59885 | 00:13 | 20 | ||
59884 | 05-16 | 52 | ||
59883 | 05-16 | 28 | ||
59882 | 05-16 | 77 | ||
59881 | 05-16 | 133 | ||
59880 | 05-16 | 150 | ||
59879 | 05-16 | 139 | ||
59878 | 05-16 | 44 | ||
59877 | 05-16 | 62 | ||
59876 | 05-16 | 41 | ||
59875 | 05-16 | 56 | ||
59874 | 05-16 | 56 | ||
59873 | 05-16 | 105 | ||
59872 | 05-16 | 102 | ||
59871 | 05-16 | 86 | ||
59870 | 05-16 | 105 | ||
59869 | 05-16 | 241 | ||
59868 | 05-16 | 69 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?