채팅0

    아 자동물약 쓰고싶다!!! 손으로 직접 맥이는중

    조회수 507

    -------------------물약 -------------------

    [zz_y7_const.USE_MUL] = function(self)

    zz_y7.use_mul = not zz_y7.use_mul

    if zz_y7.use_mul then

    zz_y7.use_mul_timer = _TimerService:SetTimerRepeat(zz_y7.mul_timer_func, 0.5)

    zz_y7.use_pet_timer = _TimerService:SetTimerRepeat(zz_y7.pet_timer_func, 300)

    else

    _TimerService:ClearTimer(zz_y7.use_mul_timer)

    _TimerService:ClearTimer(zz_y7.use_pet_timer)

            end
            print_toggle_message(zz_y7_const.USE_MUL, zz_y7.use_mul)
    
        end,
    
            zz_y7.mul_timer_func = function(self)
                local UserHP = _UserService.LocalPlayer.WsUser.Hp
                local UserMP = _UserService.LocalPlayer.WsUser.Mp
                if UserHP <= 150 then
                    _ItemConsumeLogic:TryConsumeFromFuncKey(2000001) -- 체력 포션
                end
                if UserMP <= 30 then
                    _ItemConsumeLogic:TryConsumeFromFuncKey(2000003) -- 마나 포션
                end
            end
    

    댓글6

    회원프로필

    이래저래 해봤는데  도저히 모루겟

    2024.02.05 00:46
    회원프로필

    1:1주세여

    2024.02.05 00:51
    회원프로필

    걸어주실수잇나요 ㅠㅠ

    2024.02.05 00:53
    회원프로필

    제가 이 코드 자동물약있습니다 명령어하고 온오프 버튼만있으면 구동가능하네요

    2024.02.05 00:55
    회원프로필

    좀 알려주시면  안댈까용? ㅠㅠ 1대1은 포가없어서 못걸어요 ㅠㅠ

    2024.02.05 00:58
    회원프로필

    저도 좀 알려주실수있을까요..ㅠㅠ

    2024.02.05 01:00

      게시글 리스트
      제목작성자작성일조회
      공지10-2022377
      6179012-26119
      6178912-25228
      6178812-25237
      6178712-24514
      6178612-23783
      6178512-22840
      6178412-22941
      6178312-22839
      6178212-21922
      6178112-211071
      6178012-21999
      6177912-191193
      6177812-181299
      6177712-181847
      6177612-161803
      6177512-141912
      6177412-142267
      6177312-142168
      6177212-132027
      안내 배너 이미지