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
이렇게 해라
제목 | 작성자 | 작성일 | 조회 | |
---|---|---|---|---|
55686 | 03-30 | 338 | ||
55685 | 03-30 | 639 | ||
55684 | 03-30 | 413 | ||
55683 | 03-30 | 378 | ||
55682 | 03-30 | 361 | ||
55681 | 03-30 | 400 | ||
55680 | 03-30 | 843 | ||
55679 | 03-30 | 454 | ||
55678 | ㅁㄹ+2 | 03-30 | 486 | |
55677 | 03-30 | 368 | ||
55676 | 03-30 | 371 | ||
55675 | 03-30 | 392 | ||
55674 | 03-30 | 438 | ||
55673 | 03-30 | 517 | ||
55672 | 03-30 | 357 | ||
55671 | 03-30 | 476 | ||
55670 | 03-30 | 537 | ||
55669 | 03-30 | 391 | ||
55668 | 03-30 | 360 | ||
55667 | 03-29 | 400 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?