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
이렇게 해라
제목 | 작성자 | 작성일 | 조회 | |
---|---|---|---|---|
공지 | 게시판 이용 안내+152 | 10-20 | 21552 | |
61371 | 04:38 | 23 | ||
61370 | 01:29 | 49 | ||
61369 | 00:37 | 56 | ||
61368 | 09-15 | 71 | ||
61367 | 09-15 | 130 | ||
61366 | 09-15 | 109 | ||
61365 | 09-15 | 151 | ||
61364 | 09-15 | 117 | ||
61363 | 09-15 | 179 | ||
61362 | 09-15 | 251 | ||
61361 | 09-14 | 267 | ||
61360 | 09-14 | 279 | ||
61359 | 09-14 | 279 | ||
61358 | 09-14 | 386 | ||
61357 | 09-14 | 384 | ||
61356 | 09-14 | 360 | ||
61355 | 09-14 | 326 | ||
61354 | 09-14 | 326 | ||
61353 | 09-14 | 332 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?