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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57474 | 07-07 | 2300 | ||
| 57473 | 07-07 | 2245 | ||
| 57472 | 07-07 | 2247 | ||
| 57471 | 07-07 | 2581 | ||
| 57470 | 07-07 | 2133 | ||
| 57469 | 07-07 | 2179 | ||
| 57468 | 07-07 | 3054 | ||
| 57467 | 07-07 | 2557 | ||
| 57466 | 07-07 | 2217 | ||
| 57465 | 07-07 | 3068 | ||
| 57464 | 운빨 핵 삽니다+1 | 07-07 | 2094 | |
| 57463 | 07-07 | 2079 | ||
| 57462 | 07-06 | 1877 | ||
| 57461 | 07-06 | 2195 | ||
| 57460 | 07-06 | 1934 | ||
| 57459 | 07-06 | 2496 | ||
| 57458 | 07-06 | 2463 | ||
| 57457 | 07-06 | 2076 | ||
| 57456 | 07-05 | 1766 | ||
| 57455 | 07-05 | 1647 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?