채팅0

    자사 버프 코드 이렇게 하면 돼 ?

    조회수 902

    zz_y7.buff_func = function(self)

    if zz_y7.use_buff then

    -- 버프를 사용하기 1초 전에 공격을 중지

    zz_y7.hit_timer_funck = false

    	-- 1초 대기
    	wait(1)
    
    	-- 버프 사용
    	_PlayerActiveSkillLogic:DoActiveSkill(1101004, false)
    
    	-- 버프 사용 후 공격 재개
    	zz_y7.hit_timer_func = true
    end

    end


    zz_y7.hit_timer_func = function(self)

    if not zz_y7.can_attack then

    return

    end

    myhp, mymp = zz_y7.is_hpmp()
    if zz_y7.teleported_to_mob then
    	if mymp >= 20 then
    		SendKeyInput(KeyboardKey.LeftShift)
    	else
    		_PlayerAttackLogic_Melee:TryDoingMeleeAttack(_UserService.LocalPlayer, 0, 0, nil, 0)
    	end
    end

    end


    이거 맞누...

    댓글2

    회원프로필

    형님 잘되나요

    2024.02.15 04:56
    회원프로필

    ㄴㄴㄴㄴ 이거 말고 딴걸로해야할듯 잘못설ㅈ정함

    2024.02.15 04:58

      게시글 리스트
      제목작성자작성일조회
      공지10-2022078
      6163611-0683
      6163511-0693
      6163411-06113
      6163311-05323
      6163211-05237
      6163111-05260
      6163011-05237
      6162911-05388
      6162811-04400
      6162711-04501
      6162611-04630
      6162511-04598
      6162411-03629
      6162311-03713
      6162211-03765
      6162111-02889
      6162011-02724
      6161911-02814
      6161811-02952
      안내 배너 이미지