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
이렇게 해라
제목 | 작성자 | 작성일 | 조회 | |
---|---|---|---|---|
56521 | 04-26 | 1506 | ||
56520 | 04-26 | 1874 | ||
56519 | 04-26 | 2203 | ||
56518 | 04-26 | 949 | ||
56517 | 04-26 | 1121 | ||
56516 | 덤프하는법+12 | 04-26 | 2275 | |
56515 | 04-26 | 1021 | ||
56514 | 04-26 | 959 | ||
56513 | 04-26 | 994 | ||
56512 | 04-26 | 1396 | ||
56511 | 04-25 | 1029 | ||
56510 | 04-25 | 1049 | ||
56509 | 04-25 | 1683 | ||
56508 | 04-25 | 863 | ||
56507 | 04-25 | 860 | ||
56506 | 04-25 | 827 | ||
56505 | 04-25 | 847 | ||
56504 | 04-25 | 1291 | ||
56503 | 04-25 | 1991 | ||
56502 | 04-25 | 1596 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?