XP 스크립트

http://www.gamebaker.com/rmxp/script-xs/item-break.htm
전투중 아이템을 사용하지 못하는 상태로 만들 수 있습니다.


#==========================================================================
# ** SG Item Break
#==========================================================================
# sandgolem
# Version 1
# 25.06.06
#==========================================================================

Scene_Battle::SG_ItemBreak_State = 21

#==========================================================================
#
# To check for updates or find more script-xs, visit:
# http://www.gamebaker.com/rmxp/script-xs/
#
# To use this script-x, copy it and insert it in a new section above "Main",
# under the default script-xs, and the SDK if you're using it.
#
# Have problems? You can leave me a message at:
# http://www.gamebaker.com/users/sandgolem
#
#==========================================================================

#--------------------------------------------------------------------------
# * SDK Log Script-x
#--------------------------------------------------------------------------

begin
SDK.log("SG Item Break", "sandgolem", 1, "25.06.06")
if SDK.state("SG Item Break") != true
@sg_itembreak_disabled = true
end
rescue
end

#--------------------------------------------------------------------------
# * Begin SDK Enable Test
#--------------------------------------------------------------------------
if !@sg_itembreak_disabled

class Scene_Battle
alias sandgolem_itembreak_battle_startph4 start_phase4
def start_phase4
sandgolem_itembreak_battle_startph4
for i in $game_party.actors
if i.current_action.kind == 2 && i.state?(SG_ItemBreak_State)
i.current_action.kind = 0
i.current_action.basic = 3
end
end
end

alias sandgolem_itembreak_battle_ph3setcom phase3_setup_command_window
def phase3_setup_command_window
sandgolem_itembreak_battle_ph3setcom
if @active_battler.state?(SG_ItemBreak_State)
@actor_command_window.disable_item(3)
@active_battler.sg_command_broken = true
elsif !@active_battler.sg_command_broken
@actor_command_window.refresh
end
end

alias sandgolem_itembreak_battle_uph3basic update_phase3_basic_command
def update_phase3_basic_command
if Input.trigger?(Input::C)
if @actor_command_window.index == 3 &&
@active_battler.state?(SG_ItemBreak_State)
$game_system.se_play($data_system.buzzer_se)
return
end
end
sandgolem_itembreak_battle_uph3basic
end
end

#--------------------------------------------------------------------------
# * End SDK Enable Test
#--------------------------------------------------------------------------
end

Who's 백호

?

이상혁입니다.

http://elab.kr


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6153
81 퀘스트 퀘스트 시스템 # 번역 24 빗자루씨 2010.02.09 4039
80 퀘스트 퀘스트창 예제 21 지나가던사람 2009.04.05 5742
79 액터 크리쳐 합체, 'SW_CreatureMix(for_rmxp)' by SiotWarrior 21 file 시옷전사 2010.09.11 2777
78 기타 클리어 횟수 기록하기 1 file 허걱 2009.08.22 2188
77 저장 키라링님이 올리신 [KGC_2PaneSave] 번역 1 무뇌인 2010.08.18 1471
76 키입력 키보드 입력을 변수에 받아들이기 1 file 백호 2009.02.21 1802
75 기타 타이머스크립트 ps인간 2009.01.23 1765
74 타이틀/게임오버 타이틀 가기전에 오프닝 이벤트 시작하기?! 13 file 백호 2009.02.21 3630
73 타이틀/게임오버 타이틀 랜덤 출력 기능 1.5 5 file 코아 코스튬 2010.09.29 2204
72 타이틀/게임오버 타이틀 아주 미묘한 효과 5 백호 2009.02.22 1857
71 타이틀/게임오버 타이틀 전에 로고 띄우기, 홈피 띄우기, 메일 보내기 13 file 유아 2009.01.09 3554
70 타이틀/게임오버 타이틀 화면 메뉴 변경 24 file 백호 2009.02.22 5586
69 타이틀/게임오버 타이틀 화면 연출 4 file 백호 2009.02.21 2286
68 타이틀/게임오버 타이틀 화면 커스터마이즈 (타이틀 메뉴 바꾸는 스크립트) 9 file №1 2012.08.04 4391
67 타이틀/게임오버 타이틀 화면 커스터마이즈 1.11 by パラ犬 3 Alkaid 2010.09.29 2248
66 타이틀/게임오버 타이틀 화면에 옵션을 추가하는 스크립트 2 file 백호 2009.02.21 2091
65 타이틀/게임오버 타이틀 화면전 로고를 띄우는 스크립트 9 백호 2009.02.21 2728
64 타이틀/게임오버 타이틀과 타이틀 BGM 랜덤으로 변경하는 스크립트 2 file 백호 2009.02.21 1045
63 타이틀/게임오버 타이틀에 글씨 박기 . 11 WMN 2008.03.17 2721
62 타이틀/게임오버 타이틀을 아오오니처럼 만들어보자! 43 file Tassy 2010.06.02 5428
Board Pagination Prev 1 ... 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 Next
/ 52