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
이렇게 해라
제목 | 작성자 | 작성일 | 조회 | |
---|---|---|---|---|
공지 | 게시판 이용 안내+156 | 10-20 | 21814 | |
61522 | 01:19 | 42 | ||
61521 | 01:12 | 31 | ||
61520 | 01:12 | 31 | ||
61519 | 10-14 | 43 | ||
61518 | 10-14 | 40 | ||
61517 | 10-14 | 76 | ||
61516 | 10-14 | 73 | ||
61515 | 10-14 | 71 | ||
61514 | 10-14 | 124 | ||
61513 | 10-14 | 178 | ||
61512 | 10-14 | 187 | ||
61511 | 10-14 | 158 | ||
61510 | 10-13 | 258 | ||
61509 | 10-13 | 304 | ||
61508 | 10-13 | 231 | ||
61507 | 10-13 | 254 | ||
61506 | 10-13 | 241 | ||
61505 | 10-13 | 257 | ||
61504 | 10-13 | 238 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?