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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57524 | 07-14 | 1952 | ||
| 57523 | 07-14 | 1848 | ||
| 57522 | 07-14 | 1740 | ||
| 57521 | 07-14 | 2160 | ||
| 57520 | 07-14 | 1849 | ||
| 57519 | 07-14 | 2869 | ||
| 57518 | 07-14 | 2281 | ||
| 57517 | 07-14 | 1644 | ||
| 57516 | 07-14 | 2411 | ||
| 57515 | 07-14 | 1722 | ||
| 57514 | 07-14 | 1620 | ||
| 57513 | 07-14 | 1716 | ||
| 57512 | 07-14 | 2006 | ||
| 57511 | 07-13 | 2250 | ||
| 57510 | 07-13 | 1775 | ||
| 57509 | 07-13 | 1912 | ||
| 57508 | 07-13 | 2329 | ||
| 57507 | 07-13 | 1764 | ||
| 57506 | 07-13 | 1659 | ||
| 57505 | 07-13 | 1741 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?