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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57508 | 07-13 | 2320 | ||
| 57507 | 07-13 | 1759 | ||
| 57506 | 07-13 | 1653 | ||
| 57505 | 07-13 | 1737 | ||
| 57504 | 07-13 | 1724 | ||
| 57503 | 07-13 | 2668 | ||
| 57502 | 07-12 | 2160 | ||
| 57501 | 07-12 | 2118 | ||
| 57500 | 07-12 | 2729 | ||
| 57499 | 07-12 | 1873 | ||
| 57498 | 07-12 | 2337 | ||
| 57497 | 07-12 | 1931 | ||
| 57496 | 07-11 | 2148 | ||
| 57495 | 07-11 | 2286 | ||
| 57494 | 07-11 | 2220 | ||
| 57493 | 07-11 | 1709 | ||
| 57492 | 프메 리패커샴다+1 | 07-11 | 2166 | |
| 57491 | 07-11 | 2051 | ||
| 57490 | 07-11 | 3013 | ||
| 57489 | 07-11 | 1994 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?