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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57646 | 08-10 | 2324 | ||
| 57645 | 08-09 | 3313 | ||
| 57644 | 08-09 | 2848 | ||
| 57643 | 08-09 | 2588 | ||
| 57642 | 08-07 | 2830 | ||
| 57641 | 08-07 | 2926 | ||
| 57640 | 08-06 | 3125 | ||
| 57639 | 08-06 | 3041 | ||
| 57638 | 메랜 ㅁㅋㄹ+2 | 08-06 | 3246 | |
| 57637 | 08-06 | 3608 | ||
| 57636 | 08-06 | 3005 | ||
| 57635 | 08-06 | 2650 | ||
| 57634 | 08-05 | 2845 | ||
| 57633 | 08-05 | 2919 | ||
| 57632 | 08-05 | 3052 | ||
| 57631 | 08-05 | 2795 | ||
| 57630 | 08-05 | 2641 | ||
| 57629 | 08-05 | 2744 | ||
| 57628 | 08-05 | 2715 | ||
| 57627 | 08-05 | 2880 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?