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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 55653 | 03-30 | 1161 | ||
| 55652 | 03-30 | 1156 | ||
| 55651 | 03-30 | 1269 | ||
| 55650 | 03-30 | 953 | ||
| 55649 | 03-30 | 799 | ||
| 55648 | 03-30 | 813 | ||
| 55647 | 03-30 | 751 | ||
| 55646 | 03-30 | 1195 | ||
| 55645 | 03-30 | 846 | ||
| 55644 | 03-30 | 808 | ||
| 55643 | 03-30 | 945 | ||
| 55642 | 03-30 | 807 | ||
| 55641 | 03-30 | 1142 | ||
| 55640 | 03-30 | 1233 | ||
| 55639 | 03-30 | 945 | ||
| 55638 | 03-30 | 907 | ||
| 55637 | 03-30 | 856 | ||
| 55636 | 03-30 | 1017 | ||
| 55635 | 03-30 | 1671 | ||
| 55634 | 03-30 | 929 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?