채팅0

    뿌려진 몹텔에 자벞 넣으면 먹통

    조회수 637

    [zz_y7_const.BUFF] = function(self)

        zz_y7.use_buff = not zz_y7.use_buff
        if zz_y7.use_buff then
        zz_y7.auto_buff_timer = _TimerService:SetTimerRepeat(zz_y7.buff_func, 20)
            else
            _TimerService:ClearTimer(zz_y7.auto_buff_timer)
        end
            print_toggle_message(zz_y7_const.BUFF, zz_y7.use_buff)
        end,
        [zz_y7_const.BUFF2] = function(self)
    
        zz_y7.use_buff2 = not zz_y7.use_buff2
        if zz_y7.use_buff2 then
        zz_y7.auto_buff2_timer = _TimerService:SetTimerRepeat(zz_y7.buff2_func, 25)
            else
            _TimerService:ClearTimer(zz_y7.auto_buff2_timer)
        end
            print_toggle_message(zz_y7_const.BUFF2, zz_y7.use_buff2)
        end,

    /버프 메디테이션

    /버프2 매직가드

    --------- custom functions ---------

    zz_y7.is_hpmp = function()

    local user = _UserService.LocalPlayer.WsUser

    return user.Hp,user.Mp

    end


    zz_y7.buff_func = function(self)

    if zz_y7.use_buff then

    _PlayerActiveSkillLogic:DoActiveSkill(2101001, false)

    end

    end

    zz_y7.buff2_func = function(self)

    if zz_y7.use_buff2 then

    _PlayerActiveSkillLogic:DoActiveSkill(2001002, false)

    end


    end


    왜 먹통되는지 모르겠음 알려줘!

    댓글1

    회원프로필

    [zz_y7_const.BUFF] = function(self)

            zz_y7.use_buff = not zz_y7.use_buff
            if zz_y7.use_buff then
            zz_y7.auto_buff_timer = _TimerService:SetTimerRepeat(zz_y7.buff_func, 20)
                else
                _TimerService:ClearTimer(zz_y7.auto_buff_timer)
            end
                print_toggle_message(zz_y7_const.BUFF, zz_y7.use_buff)
            end,
            [zz_y7_const.BUFF2] = function(self)

            zz_y7.use_buff2 = not zz_y7.use_buff2
            if zz_y7.use_buff2 then
            zz_y7.auto_buff2_timer = _TimerService:SetTimerRepeat(zz_y7.buff2_func, 25)
                else
                _TimerService:ClearTimer(zz_y7.auto_buff2_timer)
            end
                print_toggle_message(zz_y7_const.BUFF2, zz_y7.use_buff2)
            end,
    /버프 메디테이션
                /버프2 매직가드
    --------- custom functions ---------
    zz_y7.is_hpmp = function()
        local user = _UserService.LocalPlayer.WsUser
        return user.Hp,user.Mp
    end

    zz_y7.buff_func = function(self)
        if zz_y7.use_buff then
            _PlayerActiveSkillLogic:DoActiveSkill(2101001, false)
        end
    end
    zz_y7.buff2_func = function(self)
        if zz_y7.use_buff2 then
            _PlayerActiveSkillLogic:DoActiveSkill(2001002, false)
        end

    end

    2024.02.21 05:54

      게시글 리스트
      제목작성자작성일조회
      공지10-2022053
      6162811-0479
      6162711-04116
      6162611-04224
      6162511-04175
      6162411-03295
      6162311-03365
      6162211-03407
      6162111-02549
      6162011-02399
      6161911-02486
      6161811-02608
      6161711-02574
      6161611-02555
      6161511-01519
      6161411-01548
      6161311-01549
      6161211-01578
      6161111-01627
      6161011-01571
      안내 배너 이미지