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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57558 | 07-18 | 3372 | ||
| 57557 | 07-18 | 2876 | ||
| 57556 | 07-18 | 2971 | ||
| 57555 | 07-18 | 2888 | ||
| 57554 | 07-18 | 3549 | ||
| 57553 | 07-18 | 3822 | ||
| 57552 | 07-18 | 2344 | ||
| 57551 | 07-17 | 2344 | ||
| 57550 | 07-17 | 2207 | ||
| 57549 | 07-17 | 2466 | ||
| 57548 | 07-17 | 2075 | ||
| 57547 | 본메 h+2 | 07-17 | 2273 | |
| 57546 | 07-17 | 1846 | ||
| 57545 | 07-17 | 2291 | ||
| 57544 | 07-16 | 1941 | ||
| 57543 | 07-16 | 2492 | ||
| 57542 | 07-16 | 1875 | ||
| 57541 | 07-16 | 2177 | ||
| 57540 | 07-16 | 1978 | ||
| 57539 | 07-16 | 2160 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?