채팅0

    분노+부스터 2개 자동버프 추가할려고 하는데

    조회수 831

    zz_y7.buff_func = function(self)


    if zz_y7.use_buff then


    _PlayerActiveSkillLogic:DoActiveSkill(1101006, false)

    _PlayerActiveSkillLogic:DoActiveSkill(11101001, false)

    end


    end


    분노는 되는데 부스터가 안돼서 여쭤봅니다ㅠㅠ


    2개 추가할려면 위에처럼 한줄만 추가해서 스킬코드 넣으면 되나요?

    댓글10

    회원프로필

    어디다가 추가하면되나요 알려주세요 저도..

    2024.02.04 00:38
    회원프로필

    CommandLogic_Client.OnBeginPlay 메모장 들어가서
    명령어  local zz_y7_const = 안에 BUFF = "버프";          추가
    ------------------- Toggle Cheats ------------------- 밑에
    [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, 10)

    else

    _TimerService:ClearTimer(zz_y7.auto_buff_timer)

    end

    print_toggle_message(zz_y7_const.BUFF, zz_y7.use_buff)

    end, 넣고

    --------- custom functions --------- 밑에
    zz_y7.buff_func = function(self)

    if zz_y7.use_buff then

    _PlayerActiveSkillLogic:DoActiveSkill(2001002, false)

    end

    end

    넣으면 끝 2001002는 스킬코드라 알아서 바꾸면 됨

    zz_y7.auto_buff_timer = _TimerService:SetTimerRepeat(zz_y7.buff_func, 10) 10은 초단위라

    시간 알아서 넣으면 끝

    2024.02.04 00:43
    회원프로필

    나 성공함. 버프2개 넣는거
    BUFF1, BUFF2로 구분해서 함수를 2개 넣어야 되는데
    const.BUFF1
    use_buff1
    auto_buff_timer1
    zz_y7.buff_func1
    이렇게 변수를 넣고 2는 2대로 넣고 custom function에서는 2번째 버프 스킬코드 바꿔주면됨 ㅎㅎ
    도움 받아서 나도 남겨줌

    2024.02.04 01:32
    회원프로필

    하라는대로 했는데 버프 한개도 안써여 그래서 두개쓰는거 시도를 못해여 ㅋㅋ

    2024.02.04 02:05
    회원프로필

    1:1좀 부탁...하라는대로했는데 진짜 암것도 안되여

    2024.02.04 02:26
    회원프로필

    오 감사합니다 이따가 한번 해볼게요!!

    2024.02.04 02:45
    회원프로필

    선생님 정말 죄송하지만...말씀하신대로 그대로했는데도 안됩니다;;;
    무슨문제일까요 ㅠㅠㅠㅠ......

    [zz_y7_const.BUFF1] = function(self)

    zz_y7.use_buff1 = not zz_y7.use_buff1

    if zz_y7.use_buff1 then

    zz_y7.auto_buff_timer1 = _TimerService:SetTimerRepeat(zz_y7.buff_func1, 10)

    else

    _TimerService:ClearTimer(zz_y7.auto_buff_timer1)

    end

    print_toggle_message(zz_y7_const.BUFF1, zz_y7.use_buff1)

    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_buff_timer2 = _TimerService:SetTimerRepeat(zz_y7.buff_func2, 10)

    else

    _TimerService:ClearTimer(zz_y7.auto_buff_timer2)

    end

    print_toggle_message(zz_y7_const.BUFF2, zz_y7.use_buff2)

    end,

    이렇게작성했습니다 ㅠㅠ

    2024.02.04 05:56
    회원프로필

    알려주신대로 해봤는데 buff1 buff2 두개로 설정했는데 버프 1개도 안 쓰네요
    혹시 코드 다 적어주실 수 있나요?

    2024.02.04 11:25
    회원프로필

    혹시 물약은 어떻게 추가해야되는지 아시나요?

    2024.02.04 02:57
    회원프로필

    스피어 부스터는 코드가 뭔지 아시나요

    2024.02.14 15:50

      게시글 리스트
      제목작성자작성일조회
      2816902-04841
      2816802-04310
      2816702-04575
      2816602-04281
      2816502-04370
      2816402-04497
      2816302-04382
      2816202-04327
      2816102-04396
      2816002-04368
      2815902-04637
      2815802-04879
      2815702-04467
      2815602-04494
      2815502-04487
      2815402-04622
      2815302-04336
      2815202-04469
      2815102-04565
      2815002-04832
      안내 배너 이미지