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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57613 | 08-01 | 2536 | ||
| 57612 | 08-01 | 2635 | ||
| 57611 | 07-31 | 2750 | ||
| 57610 | 07-31 | 3296 | ||
| 57609 | 07-31 | 3341 | ||
| 57608 | 07-31 | 3554 | ||
| 57607 | 07-31 | 2939 | ||
| 57606 | 07-30 | 2857 | ||
| 57605 | 07-30 | 3391 | ||
| 57604 | 07-30 | 3282 | ||
| 57603 | 07-29 | 3159 | ||
| 57602 | 07-29 | 2984 | ||
| 57601 | 07-29 | 3092 | ||
| 57600 | 07-28 | 2835 | ||
| 57599 | 07-28 | 2778 | ||
| 57598 | 07-28 | 2817 | ||
| 57597 | 07-27 | 2504 | ||
| 57596 | 07-27 | 2849 | ||
| 57595 | 07-27 | 3105 | ||
| 57594 | 07-27 | 2854 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?