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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57434 | 07-02 | 2546 | ||
| 57433 | 07-02 | 4553 | ||
| 57432 | 07-02 | 2149 | ||
| 57431 | 07-02 | 2422 | ||
| 57430 | 07-02 | 2277 | ||
| 57429 | 07-02 | 1896 | ||
| 57428 | 07-01 | 2586 | ||
| 57427 | 07-01 | 1941 | ||
| 57426 | 06-30 | 3055 | ||
| 57425 | 06-30 | 2187 | ||
| 57424 | 06-30 | 2801 | ||
| 57423 | 06-30 | 2477 | ||
| 57422 | 본메 h삽니다+1 | 06-30 | 1994 | |
| 57421 | 06-30 | 1522 | ||
| 57420 | 피o형o삽니다+1 | 06-30 | 1491 | |
| 57419 | 06-30 | 1599 | ||
| 57418 | 06-29 | 1789 | ||
| 57417 | 본메 h+2 | 06-29 | 2147 | |
| 57416 | 06-29 | 2667 | ||
| 57415 | 06-29 | 1670 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?