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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57548 | 07-17 | 1799 | ||
| 57547 | 07-17 | 2230 | ||
| 57546 | 07-16 | 1884 | ||
| 57545 | 07-16 | 2441 | ||
| 57544 | 07-16 | 1821 | ||
| 57543 | 07-16 | 2125 | ||
| 57542 | 07-16 | 1909 | ||
| 57541 | 07-16 | 2100 | ||
| 57540 | 07-16 | 3131 | ||
| 57539 | 07-16 | 1944 | ||
| 57538 | 07-16 | 2629 | ||
| 57537 | 07-16 | 1655 | ||
| 57536 | 07-16 | 1586 | ||
| 57535 | 07-15 | 2143 | ||
| 57534 | 07-15 | 2078 | ||
| 57533 | 07-15 | 2076 | ||
| 57532 | 07-15 | 1820 | ||
| 57531 | 07-15 | 2358 | ||
| 57530 | 07-15 | 1861 | ||
| 57529 | ㅋㅌㅇ 후기+3 | 07-15 | 2330 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?