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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57437 | 07-03 | 2146 | ||
| 57436 | 07-03 | 1609 | ||
| 57435 | 07-03 | 2720 | ||
| 57434 | 07-02 | 2532 | ||
| 57433 | 07-02 | 4514 | ||
| 57432 | 07-02 | 2135 | ||
| 57431 | 07-02 | 2396 | ||
| 57430 | 07-02 | 2255 | ||
| 57429 | 07-02 | 1882 | ||
| 57428 | 07-01 | 2564 | ||
| 57427 | 07-01 | 1925 | ||
| 57426 | 06-30 | 3036 | ||
| 57425 | 06-30 | 2171 | ||
| 57424 | 06-30 | 2784 | ||
| 57423 | 06-30 | 2454 | ||
| 57422 | 본메 h삽니다+1 | 06-30 | 1978 | |
| 57421 | 06-30 | 1504 | ||
| 57420 | 피o형o삽니다+1 | 06-30 | 1470 | |
| 57419 | 06-30 | 1585 | ||
| 57418 | 06-29 | 1773 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?