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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57618 | 08-03 | 2391 | ||
| 57617 | 08-02 | 2824 | ||
| 57616 | 08-01 | 3038 | ||
| 57615 | 08-01 | 2668 | ||
| 57614 | 08-01 | 2946 | ||
| 57613 | 08-01 | 2543 | ||
| 57612 | 08-01 | 2642 | ||
| 57611 | 07-31 | 2755 | ||
| 57610 | 07-31 | 3301 | ||
| 57609 | 07-31 | 3352 | ||
| 57608 | 07-31 | 3563 | ||
| 57607 | 07-31 | 2945 | ||
| 57606 | 07-30 | 2864 | ||
| 57605 | 07-30 | 3400 | ||
| 57604 | 07-30 | 3292 | ||
| 57603 | 07-29 | 3175 | ||
| 57602 | 07-29 | 2993 | ||
| 57601 | 07-29 | 3099 | ||
| 57600 | 07-28 | 2845 | ||
| 57599 | 07-28 | 2785 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?