질문과 답변

Extra Form

9e4b215706712d63f65e342fef826ae2.png

이 기능을 없애는 방법이 없을까요?

최대한 빨리 답변 부탁드립니다. (참고로 방어 시스템을 무력화는 시켰지만 완전히 소멸(?)시키고 싶습니다.)

Comment '2'
  • profile
    Omegaroid 2014.05.13 19:27
    아예 방어 커맨드 자체를 없애드렸습니다. 몇번 테스트 해봤는데 별 오류는 없더군요. 정상적인 루트로 스크립트를 추가해주시기 바랍니다. 스크립트 추가 방법을 모르면 찾아서 배우고 실행하시길. (스크립트 주석이 영어로 되어 있는건 기능에 전혀 영향을 주지 않으니까 신경쓰지 않으셔도 됩니다)

    #==============================================================================
    # ** Window_ActorCommand
    #------------------------------------------------------------------------------
    # This window is for selecting an actor's action on the battle screen.
    #==============================================================================

    class Window_ActorCommand < Window_Command
    #--------------------------------------------------------------------------
    # * Create Command List
    # add_guard_command 삭제
    #--------------------------------------------------------------------------
    def make_command_list
    return unless @actor
    add_attack_command
    add_skill_commands
    add_item_command
    end
    end


    #==============================================================================
    # ** Scene_Battle
    #------------------------------------------------------------------------------
    # This class performs battle screen processing.
    #==============================================================================

    class Scene_Battle < Scene_Base
    #--------------------------------------------------------------------------
    # * Create Actor Commands Window
    # 방어 set_handler 삭제
    #--------------------------------------------------------------------------
    def create_actor_command_window
    @actor_command_window = Window_ActorCommand.new
    @actor_command_window.viewport = @info_viewport
    @actor_command_window.set_handler(:attack, method(:command_attack))
    @actor_command_window.set_handler(:skill, method(:command_skill))
    @actor_command_window.set_handler(:item, method(:command_item))
    @actor_command_window.set_handler(:cancel, method(:prior_command))
    @actor_command_window.x = Graphics.width
    end
    end
  • ?
    작삼 2014.05.13 19:49
    제가 원하던데로 됬습니다^^
    자세한 댓글 ㄳ합니다ㅠ

List of Articles
종류 분류 제목 글쓴이 날짜 조회 수
공지 묻고 답하기 가이드 습작 2014.06.14 12444
Board Pagination Prev 1 ... 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 Next
/ 83