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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57680 | 08-18 | 3009 | ||
| 57679 | 08-18 | 2617 | ||
| 57678 | 08-18 | 4018 | ||
| 57677 | 08-16 | 2745 | ||
| 57676 | 08-15 | 3278 | ||
| 57675 | 08-15 | 3060 | ||
| 57674 | 08-15 | 2791 | ||
| 57673 | 08-15 | 3162 | ||
| 57672 | 08-15 | 2910 | ||
| 57671 | 08-14 | 3167 | ||
| 57670 | 08-14 | 3133 | ||
| 57669 | 08-14 | 3092 | ||
| 57668 | 08-14 | 3015 | ||
| 57667 | 08-13 | 2867 | ||
| 57666 | 롱빈터삽니다+1 | 08-13 | 3017 | |
| 57665 | 08-13 | 2743 | ||
| 57664 | 08-13 | 3000 | ||
| 57663 | 08-13 | 2645 | ||
| 57662 | 08-13 | 3119 | ||
| 57661 | 08-12 | 2996 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?