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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57488 | 07-11 | 1764 | ||
| 57487 | 07-11 | 1888 | ||
| 57486 | 07-10 | 1933 | ||
| 57485 | 07-10 | 1882 | ||
| 57484 | 07-10 | 2301 | ||
| 57483 | 07-10 | 2096 | ||
| 57482 | 07-09 | 2615 | ||
| 57481 | 07-09 | 2657 | ||
| 57480 | 07-08 | 2505 | ||
| 57479 | 본메+4 | 07-08 | 3022 | |
| 57478 | 07-08 | 3059 | ||
| 57477 | 07-08 | 2679 | ||
| 57476 | 07-08 | 2770 | ||
| 57475 | 07-08 | 2420 | ||
| 57474 | 07-07 | 2308 | ||
| 57473 | 07-07 | 2250 | ||
| 57472 | 07-07 | 2254 | ||
| 57471 | 07-07 | 2589 | ||
| 57470 | 07-07 | 2141 | ||
| 57469 | 07-07 | 2185 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?