XP 스크립트

# 액터 서바이벌 (Since 2006/01/08)
# by Tetra-Z
# 출처 : 십자군의 RPG 세상
# 액터가 전투 불능이 되면 강제 이탈!그렇다고 하는 전율 사양이 되는 스크립트.

#==============================================================================
# ■ Game_Battler
#==============================================================================
class Game_Battler
  #--------------------------------------------------------------------------
  # ● HP 의 변경
  #--------------------------------------------------------------------------
  alias tetraz55_hp_writer hp=
  def hp=(hp)
    tetraz55_hp_writer(hp)
    if (self.is_a?(Game_Actor) and self.dead? and
        !(@reraised or $game_temp.in_battle))
      $game_party.remove_actor(self.id)
    end
  end
end
#==============================================================================
# ■ Scene_Item
#==============================================================================
class Scene_Item
  #--------------------------------------------------------------------------
  # ● 프레임 갱신 (타겟 윈도우가 액티브의 경우)
  #--------------------------------------------------------------------------
  alias tetraz55_update_target update_target
  def update_target
    tetraz55_update_target
    @target_window.index = $game_party.actors.size - 1 if @target_window.index >= $game_party.actors.size
  end
end
#==============================================================================
# ■ Scene_Skill
#==============================================================================
class Scene_Skill
  #--------------------------------------------------------------------------
  # ● 프레임 갱신 (타겟 윈도우가 액티브의 경우)
  #--------------------------------------------------------------------------
  alias tetraz55_update_target update_target
  def update_target
    tetraz55_update_target
    @target_window.index = $game_party.actors.size - 1 if @target_window.index >= $game_party.actors.size
  end
end
#==============================================================================
# ■ Scene_Battle
#==============================================================================
class Scene_Battle
  #--------------------------------------------------------------------------
  # ● 프레임 갱신 (메인 국면 스텝 6 : 리프레쉬)
  #--------------------------------------------------------------------------
  alias tetraz55_update_phase4_step6 update_phase4_step6
  def update_phase4_step6
    tetraz55_update_phase4_step6
    last_party = $game_party.actors.dup
    for actor in last_party
      $game_party.remove_actor(actor.id) if actor.dead?
    end
    if $game_party.actors != last_party
      @status_window.refresh
      @cp_window.refresh unless @cp_window.nil?
    end
  end
end

Comment '7'
  • ?
    21stcentury 2008.10.06 15:33
    이것도 XP
  • ?
    FireFighter 2008.10.06 20:41
    XP? 이런 것은 재미없음 VX가 최고임
  • ?
    그릴레옹 2008.10.11 12:33
    캐릭이불쌍
  • profile
    점댕댕 2008.10.25 22:24
    그냥;; 액알에서요 죽으면 부활스크립트넣어서요;;
    부활하는데  좌표설정하는 이벤트에 이벤트 모두회복을 누르면 어떨지;;ㅎㅎㅎ 그리고 이벤트일시중지 하면;;
    더이상 체력이랑 안올라가겟죠;;? 그렇게하면;; 거길다시지나쳐도;; 회복이안돼겟죠;;?(이상 허접답변)
  • ?
    엘릭시온 2008.11.23 13:02
    감사합니다
  • ?
    아키_미츠키 2008.12.27 10:16
    TRPG나 SRPG에 넣으면 케릭터가 불쌍하겠네요 ;;
  • ?
    rpg게임만들기왕 2009.01.16 19:02
    한명만 살아 남다 다 디지면 다 없어지는 건가여?

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6153
141 기타 Hero Databass 4 file 백호 2009.02.22 797
140 메시지 Hermes(Hermes Extends RPGXP Message System) 0.4 by derula 1 Alkaid 2011.02.27 3053
139 메시지 Hermes(Hermes Extends RPGXP Message System) 0.3d by derula Alkaid 2010.09.10 2024
138 맵/타일 H-Mode7 Engine 1.0 by MGCaladtogel 8 Alkaid 2010.12.23 2161
137 전투 GubiD's Tactical Battle System 1.5.1.4 (RMXP용) GTBS 2 Alkaid 2010.09.03 2456
136 전투 GTBS 1.4 스크립트 9 아방스 2009.02.05 3028
135 스킬 Grouping and Details 8.1 by DerVVulfman 4 file Alkaid 2011.04.18 1437
134 스킬 Grouping and Detail 7.2 by DerVVulfman 1 file Alkaid 2010.09.02 1510
133 스킬 Grouping and Detail (Items/Skills) 1 file 백호 2009.02.21 839
132 기타 Golden_sun_intro v1 1 백호 2009.02.22 1262
131 키입력 Glitchfinder's Input Modules (XP/VX 공용) 2 Alkaid 2011.03.19 1952
130 기타 Free Window Demo 1 file 백호 2009.02.22 1002
129 기타 FPLE 2 - First Person Labyrinth Explorer by MGC 1 Alkaid 2012.01.17 3415
128 메시지 FontZ by DerVVulfman Alkaid 2013.07.19 1099
127 Fog of War 4 file 실마릴 2008.06.19 2498
126 오디오 FMOD Ex Audio Module Rewrite 1.51 by Cowlol 2 file Alkaid 2010.11.18 1793
125 전투 FFX, X-2, FFXII 식으로 대미지 표시하기 by squall@rmxp.org 백호 2009.02.22 1115
124 메뉴 FF7형식의 메뉴로 변경하는 스크립트 1 file 백호 2009.02.21 1463
123 메뉴 FF7 Menu version 3 by AcedentProne (SDK 호환) file 백호 2009.02.22 1116
122 전투 FF10 전투 대미지 공식 by hydro@rmxp.org 백호 2009.02.22 1141
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