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 | 22195 | |
| 61714 | 05:48 | 3 | ||
| 61713 | 11-24 | 211 | ||
| 61712 | 11-24 | 135 | ||
| 61711 | 11-23 | 236 | ||
| 61710 | 11-23 | 227 | ||
| 61709 | 11-23 | 343 | ||
| 61708 | 11-23 | 317 | ||
| 61707 | 11-23 | 354 | ||
| 61706 | 11-23 | 390 | ||
| 61705 | 11-22 | 383 | ||
| 61704 | 11-22 | 405 | ||
| 61703 | 11-22 | 444 | ||
| 61702 | 11-22 | 559 | ||
| 61701 | 11-22 | 477 | ||
| 61700 | 11-22 | 496 | ||
| 61699 | 11-21 | 571 | ||
| 61698 | 11-21 | 632 | ||
| 61697 | 11-21 | 551 | ||
| 61696 | 11-21 | 560 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?