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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 공지 | 게시판 이용 안내+156 | 10-20 | 22415 | |
| 61806 | 09:15 | 6 | ||
| 61805 | 01-07 | 134 | ||
| 61804 | 01-07 | 248 | ||
| 61803 | 01-06 | 275 | ||
| 61802 | 01-06 | 265 | ||
| 61801 | 01-05 | 484 | ||
| 61800 | 01-05 | 445 | ||
| 61799 | 01-05 | 490 | ||
| 61798 | 01-05 | 746 | ||
| 61797 | 01-04 | 562 | ||
| 61796 | 01-04 | 636 | ||
| 61795 | 01-03 | 843 | ||
| 61794 | 01-01 | 1128 | ||
| 61793 | 12-31 | 1232 | ||
| 61792 | 12-31 | 1303 | ||
| 61791 | 12-30 | 1493 | ||
| 61790 | 12-28 | 1941 | ||
| 61789 | 12-28 | 1911 | ||
| 61788 | 12-25 | 2225 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?