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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57562 | 본메 h+4 | 07-18 | 3841 | |
| 57561 | 07-18 | 3427 | ||
| 57560 | 07-18 | 3322 | ||
| 57559 | 07-18 | 2802 | ||
| 57558 | 07-18 | 2907 | ||
| 57557 | 07-18 | 2834 | ||
| 57556 | 07-18 | 3482 | ||
| 57555 | 07-18 | 3757 | ||
| 57554 | 07-18 | 2286 | ||
| 57553 | 07-17 | 2267 | ||
| 57552 | 07-17 | 2166 | ||
| 57551 | 07-17 | 2418 | ||
| 57550 | 07-17 | 2010 | ||
| 57549 | 본메 h+2 | 07-17 | 2228 | |
| 57548 | 07-17 | 1796 | ||
| 57547 | 07-17 | 2228 | ||
| 57546 | 07-16 | 1882 | ||
| 57545 | 07-16 | 2439 | ||
| 57544 | 07-16 | 1818 | ||
| 57543 | 07-16 | 2121 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?