XP 스크립트

class Game_Player
  alias hpinit initialize
  alias hpupd update
  def initialize
    hpinit
    @frame = 0
  end
  def update
    hpupd
    @frame += 1
    if @frame >= 200 and $game_party.item_number(n) > 0
      @frame = 0
      $game_party.actors[0].hp += n
      $game_party.actors[0].sp += n
    end
  end
end

수정할부분

11줄에서,
@frame >= 200에서 200을 바꾸시면 원하는 시간 가능합니다. (40 * 원하는 시간(초))
$game_party.item_number(n) 에서 n은 바꾸셔야 합니다.
13, 14줄에서 n을 바꾸셔야 합니다.

또 다른 아이디로, 다른 양으로 회복시키시려면

14줄 밑에

  elsif $game_party.item_number(n) > 0
    @frame = 0
      $game_party.actors[0].hp += n
      $game_party.actors[0].sp += n

를 고스란히 넣으신후 n을 알아서 바꿔주시면 됩니다.
Comment '3'

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6153
761 기타 카운트 3초 1 file 백호 2009.02.22 1295
760 변수/스위치 Initial Switches and Variables by PK8 (XP/VX/VXA) Alkaid 2012.09.14 1296
759 파티 Party Switching Screen by exseiken file 백호 2009.02.22 1299
758 기타 KGC - 입수 경험치&금 증가 스크립트 백호 2009.02.22 1301
757 넷플2.0(펌) 3번째 4 오동훈 2008.02.25 1303
756 메뉴 Advanced Command Windows by Tsunokiette file 백호 2009.02.22 1307
755 기타 Complete Climate and Time System 1.2 by ForeverZer0 1 Alkaid 2010.09.17 1310
754 전투 Real Time Active Battle(RTAB) 1.14 from 歯車の城 3 file 백호 2009.02.22 1315
753 기타 Text to RGSS by DerVVulfman Alkaid 2011.04.18 1319
752 전투 적의 여러차례 행동 스크립트 1 백호 2009.02.22 1321
751 메뉴 플레이 시간 윈도우 개조 file 백호 2009.02.21 1328
750 메뉴 스테이터스 일람 스크립트 file 백호 2009.02.21 1328
749 Seph's Test Bed 0.4 (SDK2 호환, Method & Class Library 2 WMN 2008.04.06 1330
748 기타 엔딩에 스탭롤을 도입하는 스크립트 1 file 백호 2009.02.21 1335
747 이름입력 영어 이름 입력기 2 백호 2009.02.22 1335
746 기타 랜덤 지하 감옥 작성 스크립트 1 file 백호 2009.02.21 1338
745 메시지 Animated Window Skin by Tana 1 백호 2009.02.22 1338
744 스킬 스킬도감 오류 수정본 2 file 백호 2009.02.22 1340
743 HUD Advanced HUD Script 3 file 백호 2009.02.22 1341
742 비공정 스크립트의 탑승속도 변경하기. 3 아방스 2008.01.14 1346
Board Pagination Prev 1 ... 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 ... 52 Next
/ 52