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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57662 | 08-13 | 3109 | ||
| 57661 | 08-12 | 2980 | ||
| 57660 | 08-12 | 2771 | ||
| 57659 | 08-12 | 2370 | ||
| 57658 | 08-12 | 2294 | ||
| 57657 | 08-12 | 2994 | ||
| 57656 | 08-12 | 2320 | ||
| 57655 | 08-11 | 2196 | ||
| 57654 | 08-11 | 2310 | ||
| 57653 | 08-11 | 2235 | ||
| 57652 | 08-11 | 2479 | ||
| 57651 | 08-10 | 3331 | ||
| 57650 | 08-10 | 2499 | ||
| 57649 | 08-10 | 2343 | ||
| 57648 | 08-10 | 2535 | ||
| 57647 | 08-10 | 2566 | ||
| 57646 | 08-10 | 2338 | ||
| 57645 | 08-09 | 3325 | ||
| 57644 | 08-09 | 2864 | ||
| 57643 | 08-09 | 2599 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?