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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57499 | 07-12 | 1892 | ||
| 57498 | 07-12 | 2378 | ||
| 57497 | 07-12 | 1952 | ||
| 57496 | 07-11 | 2177 | ||
| 57495 | 07-11 | 2313 | ||
| 57494 | 07-11 | 2241 | ||
| 57493 | 07-11 | 1726 | ||
| 57492 | 프메 리패커샴다+1 | 07-11 | 2185 | |
| 57491 | 07-11 | 2074 | ||
| 57490 | 07-11 | 3036 | ||
| 57489 | 07-11 | 2019 | ||
| 57488 | 07-11 | 1794 | ||
| 57487 | 07-11 | 1924 | ||
| 57486 | 07-10 | 1972 | ||
| 57485 | 07-10 | 1915 | ||
| 57484 | 07-10 | 2322 | ||
| 57483 | 07-10 | 2120 | ||
| 57482 | 07-09 | 2647 | ||
| 57481 | 07-09 | 2689 | ||
| 57480 | 07-08 | 2536 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?