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 6203
561 키입력 전체키 입력 스크립트 v4 by Cybersam 5 file 백호 2009.02.22 1948
560 전투 RTAB방식의 CBS 스크립트 Final-2 5 file 백호 2009.02.22 1943
559 메뉴 KGC 메뉴화면 개조 스크립트 번역 3 file 백호 2009.02.22 1942
558 HUD 게임 플레이시 맵의 이름을 표시하는 스크립트 1 file 백호 2009.02.21 1935
557 기타 요리스크립트 (구) 6 *ps인간 2009.01.26 1933
556 이동 및 탈것 자동으로 장애물을 피해가는 스크립트 13 file 백호 2009.02.22 1930
555 장비 Equipment Upgrade System 1.1 by Charlie Fleed Alkaid 2010.11.18 1928
554 그래픽 Weather Creator 1.0 by ForeverZer0 2 file Alkaid 2011.01.22 1922
553 전투 전투불능 케릭터 강제삭제 7 독도2005 2008.10.05 1918
552 기타 RPG 만들기 XP의 숨겨진 모듈/클래스 재정의 스크립트 모음 1 Alkaid 2013.08.31 1913
551 [자작]일괄조작 관련 스크립트 5 나뚜루 2009.01.10 1913
550 액터 Actor Customization 6.0.2 by Synthesize 4 file Alkaid 2010.09.17 1912
549 기타 mog-스테이터스 업그레이드? ps인간 2009.01.23 1904
548 전투 Mr. Mo's ABS Ultimate 1.9 by DerVVulfman 2 Alkaid 2011.12.01 1900
547 전투 The Lycan ABS by DerVVulfman Alkaid 2013.07.22 1898
546 메뉴 링메뉴 제대로된것..오류안나느것. 7 백호 2009.02.21 1890
545 온라인 multy-netplay 로그인창에서 비밀번호를 ***표시해주는 script~! 1 백호 2009.02.22 1889
544 전투 레벨 상승 화면 개조 스크립트 4 file 백호 2009.02.21 1884
543 기타 무기& 방어구 레벨제한 스크립트 23 file 백호 2009.02.21 1880
542 전투 전투중의 윈도우 전부 투명화 3 file 백호 2009.02.21 1879
Board Pagination Prev 1 ... 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 ... 52 Next
/ 52