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 6203
21 기타 [XP/VX/VXA] Drago Core Engine Alkaid 2014.02.13 887
20 기타 [XP/VX/VXA] Map Screenshot by LiTTleDRAgo 1 Alkaid 2014.02.13 855
19 그래픽 [XP/VX/VXA] Drago - Transition Pack Alkaid 2014.02.13 1214
18 기타 Drago - Custom Resolution by LiTTleDRAgo Alkaid 2014.02.13 1114
17 기타 [All RGSS] 윈도우 커서 숨기기/보이기 1 file Cheapmunk 2014.03.02 1963
16 기타 RM2kXP file 습작 2014.03.17 1560
15 기타 [All RGSS] 게임 다중 실행 방지 스크립트 1 file Cheapmunk 2014.05.24 1381
14 기타 [All RGSS] 윈도우 메세지박스 스크립트 (Completed ver) 5 file Cheapmunk 2014.06.22 2187
13 메뉴 MOG - Scroll Bar for XP file 습작 2014.07.06 1540
12 기타 레벨업스크립트(xp) 2 게임을만들자! 2014.08.05 1696
11 그래픽 Drago - Custom Resolution II 1 Alkaid 2014.09.10 1009
10 기타 [RGSS XP] 게임 해상도 조절 스크립트 (*2) 11 file Cheapmunk 2014.10.03 2573
9 기타 [All RGSS] FileTest (Unicode) file Cheapmunk 2014.12.29 614
8 기타 [All RGSS] File-Ex file Cheapmunk 2014.12.29 964
7 장비 착용한 장비에 따라 모습이 달라지는 스크립트 예제 5 file 게임애호가 2015.02.14 2018
6 온라인 인터넷 웹 상에서의 시간을 취득하는 스크립트 1 이우 2016.05.24 876
5 전투 전투중에 장비들 교체하기 file 레이스89 2017.08.19 600
4 맵/타일 맵연결 스크립트 (데모첨부) file 게임애호가 2018.06.15 695
3 이름입력 한글조합입력기(영어가능) file 조규진1 2019.11.10 507
2 메시지 Taylor's Simple Message System 2000 Alkaid 2020.07.05 247
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