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
이렇게 해라
제목 | 작성자 | 작성일 | 조회 | |
---|---|---|---|---|
공지 | 게시판 이용 안내+151 | 10-20 | 21358 | |
61248 | 08-24 | 99 | ||
61247 | 08-24 | 168 | ||
61246 | 08-24 | 91 | ||
61245 | 08-24 | 120 | ||
61244 | 08-24 | 118 | ||
61243 | 08-24 | 161 | ||
61242 | 08-24 | 165 | ||
61241 | 08-23 | 352 | ||
61240 | 08-23 | 298 | ||
61239 | 08-23 | 266 | ||
61238 | 08-23 | 234 | ||
61237 | 08-23 | 345 | ||
61236 | 08-23 | 260 | ||
61235 | 08-23 | 253 | ||
61234 | 08-23 | 291 | ||
61233 | 08-23 | 278 | ||
61232 | 08-23 | 341 | ||
61231 | 08-23 | 410 | ||
61230 | 08-23 | 392 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?