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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57588 | 07-26 | 5825 | ||
| 57587 | 07-25 | 2860 | ||
| 57586 | 07-25 | 2729 | ||
| 57585 | 07-25 | 3067 | ||
| 57584 | 07-25 | 2733 | ||
| 57583 | 07-25 | 2905 | ||
| 57582 | 07-24 | 2520 | ||
| 57581 | 07-24 | 3335 | ||
| 57580 | 07-24 | 3142 | ||
| 57579 | ㅋㅌㅇ 삽니다+4 | 07-24 | 2659 | |
| 57578 | 07-24 | 2564 | ||
| 57577 | 07-24 | 2912 | ||
| 57576 | 07-23 | 3234 | ||
| 57575 | 07-23 | 2636 | ||
| 57574 | 07-23 | 2941 | ||
| 57573 | 07-23 | 3114 | ||
| 57572 | 07-22 | 3281 | ||
| 57571 | 07-21 | 4504 | ||
| 57570 | 07-20 | 3655 | ||
| 57569 | 07-20 | 3224 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?