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
이렇게 해라
제목 | 작성자 | 작성일 | 조회 | |
---|---|---|---|---|
55660 | 03-30 | 625 | ||
55659 | 03-30 | 541 | ||
55658 | 03-30 | 626 | ||
55657 | 03-30 | 545 | ||
55656 | 03-30 | 693 | ||
55655 | 03-30 | 990 | ||
55654 | 03-30 | 640 | ||
55653 | 03-30 | 613 | ||
55652 | 03-30 | 592 | ||
55651 | 03-30 | 610 | ||
55650 | 03-30 | 1283 | ||
55649 | 03-30 | 683 | ||
55648 | ㅁㄹ+2 | 03-30 | 711 | |
55647 | 03-30 | 577 | ||
55646 | 03-30 | 588 | ||
55645 | 03-30 | 646 | ||
55644 | 03-30 | 668 | ||
55643 | 03-30 | 742 | ||
55642 | 03-30 | 713 | ||
55641 | 03-30 | 808 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?