XP 스크립트

http://www.gamebaker.com/rmxp/script-xs/skill-break.htm
전투중 스킬을 사용할 수 없는 상태로 만들 수 있습니다. (즉, 스킬 메뉴 자체를 사용할 수 없게 합니다)


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

Scene_Battle::SG_SkillBreak_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 Skill Break", "sandgolem", 1, "25.06.06")
if SDK.state("SG Skill Break") != true
@sg_skillbreak_disabled = true
end
rescue
end

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

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

alias sandgolem_skillbreak_battle_ph3setcom phase3_setup_command_window
def phase3_setup_command_window
sandgolem_skillbreak_battle_ph3setcom
if @active_battler.state?(SG_SkillBreak_State)
@actor_command_window.disable_item(1)
@active_battler.sg_command_broken = true
elsif !@active_battler.sg_command_broken
@actor_command_window.refresh
end
end

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

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

Who's 백호

?

이상혁입니다.

http://elab.kr


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6153
561 기타 [신기술 체험] 오투잼 스크립트 7 file 백호 2009.02.22 1959
560 파티 [신기술 체험] 2p파티시스템(액알) 8 file 백호 2009.02.22 3193
559 기타 [신기술 체험] 솔로채팅창 17 file 백호 2009.02.22 2187
558 기타 [신기술 체험] RPGXP 3D 9 file 백호 2009.02.22 3635
557 전투 [신기술 체험]액션배틀1탄 6 file 백호 2009.02.22 2766
556 메뉴 Advanced Command Windows by Tsunokiette file 백호 2009.02.22 1307
555 기타 RM2K Facesets, Inn & Windowskin Colors by DerVVulfman@rmxp.org 1 file 백호 2009.02.22 866
» 스킬 SG_Skill Break by sandgolem (SDK호환) 백호 2009.02.22 772
553 아이템 SG_Item Break by sandgolem (SDK호환) 백호 2009.02.22 897
552 전투 SG_Attack Break by sandgolem (SDK호환) 백호 2009.02.22 813
551 메뉴 혹시있나해서-_-.. 대화창에 테두리치기 스크립트 7 백호 2009.02.22 2592
550 스킬 Skill Requirements by SephirothSpawn (SDK호환) file 백호 2009.02.22 763
549 저장 Inn & Save Point System by SephirothSpawn (SDK호환) 1 file 백호 2009.02.22 810
548 전투 Stealing/Mugging/Scanning 6.0 Final by Trickster (SDK호환) file 백호 2009.02.22 885
547 키입력 Mouse Input Module v5 by Near Fantastica (SDK호환) 2 백호 2009.02.22 962
546 키입력 Keyboard Input Module v5 by Near Fantastica (SDK호환) 백호 2009.02.22 1075
545 키입력 전체키 입력 스크립트 v4 by Cybersam 5 file 백호 2009.02.22 1947
544 기타 Tetris Attack by trickster 1 file 백호 2009.02.22 986
543 기타 Monster Arena by trickster file 백호 2009.02.22 812
542 기타 Minesweeper(지뢰찾기) by SephirothSpawn (SDK호환) 3 file 백호 2009.02.22 1363
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