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 | 2553 | ||
| 57612 | 08-01 | 2651 | ||
| 57611 | 07-31 | 2763 | ||
| 57610 | 07-31 | 3311 | ||
| 57609 | 07-31 | 3362 | ||
| 57608 | 07-31 | 3569 | ||
| 57607 | 07-31 | 2951 | ||
| 57606 | 07-30 | 2873 | ||
| 57605 | 07-30 | 3406 | ||
| 57604 | 07-30 | 3300 | ||
| 57603 | 07-29 | 3193 | ||
| 57602 | 07-29 | 3004 | ||
| 57601 | 07-29 | 3108 | ||
| 57600 | 07-28 | 2858 | ||
| 57599 | 07-28 | 2796 | ||
| 57598 | 07-28 | 2834 | ||
| 57597 | 07-27 | 2521 | ||
| 57596 | 07-27 | 2862 | ||
| 57595 | 07-27 | 3121 | ||
| 57594 | 07-27 | 2867 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?