채팅0

    몹텔 바꿔서 써라

    조회수 1522

        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


    이렇게 해라

    댓글3

    회원프로필

    for문 쓸줄아는 사람 너무 섹시해

    2024.03.30 02:45
    회원프로필

    형님미안한데 이거 몹텔은안타는겨 ?

    2024.03.30 10:25
    회원프로필

    어디서바꾸나여?

    2024.03.30 14:02

      게시글 리스트
      제목작성자작성일조회
      공지10-2021552
      6137104:3823
      6137001:2949
      6136900:3756
      6136809-1571
      6136709-15130
      6136609-15109
      6136509-15151
      6136409-15117
      6136309-15179
      6136209-15251
      6136109-14267
      6136009-14279
      6135909-14279
      6135809-14386
      6135709-14384
      6135609-14360
      6135509-14326
      6135409-14326
      6135309-14332