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 | 22499 | |
| 61834 | 18:31 | 7 | ||
| 61833 | 14:15 | 52 | ||
| 61832 | 01-24 | 981 | ||
| 61831 | 01-23 | 825 | ||
| 61830 | 01-23 | 865 | ||
| 61829 | 01-23 | 784 | ||
| 61828 | 01-23 | 821 | ||
| 61827 | 01-23 | 855 | ||
| 61826 | 01-21 | 1092 | ||
| 61825 | 01-21 | 1321 | ||
| 61824 | 01-21 | 1148 | ||
| 61823 | 01-21 | 1237 | ||
| 61822 | 01-20 | 1312 | ||
| 61821 | 01-20 | 1259 | ||
| 61820 | 01-20 | 1291 | ||
| 61819 | 01-19 | 1345 | ||
| 61818 | 01-19 | 1525 | ||
| 61817 | 01-19 | 1397 | ||
| 61816 | 01-17 | 1865 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?