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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57511 | 07-14 | 1736 | ||
| 57510 | 07-14 | 2035 | ||
| 57509 | 07-13 | 2278 | ||
| 57508 | 07-13 | 1794 | ||
| 57507 | 07-13 | 1943 | ||
| 57506 | 07-13 | 2359 | ||
| 57505 | 07-13 | 1784 | ||
| 57504 | 07-13 | 1682 | ||
| 57503 | 07-13 | 1766 | ||
| 57502 | 07-13 | 1752 | ||
| 57501 | 07-13 | 2700 | ||
| 57500 | 07-12 | 2198 | ||
| 57499 | 07-12 | 2146 | ||
| 57498 | 07-12 | 2769 | ||
| 57497 | 07-12 | 1899 | ||
| 57496 | 07-12 | 2391 | ||
| 57495 | 07-12 | 1958 | ||
| 57494 | 07-11 | 2188 | ||
| 57493 | 07-11 | 2326 | ||
| 57492 | 07-11 | 2251 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?