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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57637 | 08-06 | 3639 | ||
| 57636 | 08-06 | 3022 | ||
| 57635 | 08-06 | 2666 | ||
| 57634 | 08-05 | 2863 | ||
| 57633 | 08-05 | 2943 | ||
| 57632 | 08-05 | 3073 | ||
| 57631 | 08-05 | 2811 | ||
| 57630 | 08-05 | 2661 | ||
| 57629 | 08-05 | 2762 | ||
| 57628 | 08-05 | 2732 | ||
| 57627 | 08-05 | 2903 | ||
| 57626 | 08-04 | 3393 | ||
| 57625 | 08-04 | 3302 | ||
| 57624 | 08-04 | 2374 | ||
| 57623 | 08-03 | 2624 | ||
| 57622 | 08-03 | 2284 | ||
| 57621 | 08-03 | 2469 | ||
| 57620 | 08-03 | 2716 | ||
| 57619 | 08-03 | 2220 | ||
| 57618 | 08-03 | 2425 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?