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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57718 | 08-27 | 2714 | ||
| 57717 | 08-27 | 2999 | ||
| 57716 | 08-26 | 2656 | ||
| 57715 | ㅁㄹ ㅁㅋㄹ+1 | 08-26 | 2747 | |
| 57714 | 08-26 | 3123 | ||
| 57713 | 08-26 | 3091 | ||
| 57712 | 08-25 | 2783 | ||
| 57711 | 08-25 | 3456 | ||
| 57710 | 08-25 | 3024 | ||
| 57709 | 08-25 | 3498 | ||
| 57708 | 08-25 | 2699 | ||
| 57707 | 08-25 | 2906 | ||
| 57706 | 08-24 | 3066 | ||
| 57705 | 08-24 | 2694 | ||
| 57704 | 08-24 | 2571 | ||
| 57703 | 08-23 | 3025 | ||
| 57702 | 08-23 | 2795 | ||
| 57701 | 08-23 | 2843 | ||
| 57700 | 08-23 | 2591 | ||
| 57699 | 08-23 | 2853 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?