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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57517 | 07-14 | 2916 | ||
| 57516 | 07-14 | 2312 | ||
| 57515 | 07-14 | 1670 | ||
| 57514 | 07-14 | 2458 | ||
| 57513 | 07-14 | 1749 | ||
| 57512 | 07-14 | 1658 | ||
| 57511 | 07-14 | 1747 | ||
| 57510 | 07-14 | 2043 | ||
| 57509 | 07-13 | 2289 | ||
| 57508 | 07-13 | 1801 | ||
| 57507 | 07-13 | 1954 | ||
| 57506 | 07-13 | 2369 | ||
| 57505 | 07-13 | 1794 | ||
| 57504 | 07-13 | 1690 | ||
| 57503 | 07-13 | 1775 | ||
| 57502 | 07-13 | 1761 | ||
| 57501 | 07-13 | 2713 | ||
| 57500 | 07-12 | 2208 | ||
| 57499 | 07-12 | 2157 | ||
| 57498 | 07-12 | 2781 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?