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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57627 | 08-05 | 2880 | ||
| 57626 | 08-04 | 3363 | ||
| 57625 | 08-04 | 3278 | ||
| 57624 | 08-04 | 2356 | ||
| 57623 | 08-03 | 2602 | ||
| 57622 | 08-03 | 2268 | ||
| 57621 | 08-03 | 2443 | ||
| 57620 | 08-03 | 2685 | ||
| 57619 | 08-03 | 2208 | ||
| 57618 | 08-03 | 2407 | ||
| 57617 | 08-02 | 2839 | ||
| 57616 | 08-01 | 3077 | ||
| 57615 | 08-01 | 2684 | ||
| 57614 | 08-01 | 2967 | ||
| 57613 | 08-01 | 2563 | ||
| 57612 | 08-01 | 2663 | ||
| 57611 | 07-31 | 2772 | ||
| 57610 | 07-31 | 3324 | ||
| 57609 | 07-31 | 3380 | ||
| 57608 | 07-31 | 3577 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?