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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57405 | 06-28 | 2000 | ||
| 57404 | 06-27 | 1595 | ||
| 57403 | 06-27 | 1647 | ||
| 57402 | 06-27 | 3277 | ||
| 57401 | 06-27 | 1698 | ||
| 57400 | 06-27 | 1592 | ||
| 57399 | 06-27 | 2300 | ||
| 57398 | 06-27 | 1511 | ||
| 57397 | 06-27 | 1989 | ||
| 57396 | 06-27 | 2970 | ||
| 57395 | 06-27 | 1644 | ||
| 57394 | 06-26 | 1748 | ||
| 57393 | 06-26 | 1824 | ||
| 57392 | 06-26 | 1624 | ||
| 57391 | 06-26 | 1798 | ||
| 57390 | 06-26 | 1736 | ||
| 57389 | 06-26 | 2173 | ||
| 57388 | 06-26 | 1723 | ||
| 57387 | 06-26 | 1448 | ||
| 57386 | 06-26 | 2070 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?