XP 스크립트

#=================================================
# ■ 광물캐기 스크립트 ver2
#-------------------------------------------------
#  Author: kcss[imngofgh]
#  Desc: 광물을 캘수있습니다
#    http://rpgxp.zetyx.net (게임공작소)
#=================================================

class Game_Event < Game_Event
  def 광물(rate, id, ani)
    @rate = rate
    @item_id = id
    @ani = ani
    if rand(100) < @rate
      $game_player.animation_id = @ani
      $game_party.gain_item(@item_id, 1)
      간단메세지("광물을 습득 했습니다.")     
    end
  end
end

공부할겸 만들어봤습니다

사용법은 저번버전하고는 다릅니다

이벤트 > 이동루트의 설정 > 이 이벤트로 설정 > 스크립트 > 광물(드롭 확률, 아이템 번호, 드롭시 애니)

복잡하게 보이지만 모르겠으면 예제를 뜯어보세요

###주의###
비밀소년님의 간단 메세지 스크립트가 있어야됩니다

Who's 백호

?

이상혁입니다.

http://elab.kr

Comment '3'

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 7314
254 기타 [All RGSS] FileTest (Unicode) file Cheapmunk 2014.12.29 657
253 기타 에어리어 설정 by RPG Advocate 백호 2009.02.22 735
252 기타 Boat Script 백호 2009.02.21 750
251 기타 Materia System file 백호 2009.02.21 767
250 기타 Localization by ForeverZer0, KK20 습작 2013.04.26 767
249 기타 killer님 요청하신 스크립트 두번째입니다. 나뚜루 2009.02.21 770
248 기타 Letter by Letter Message Window by slipknot@rmxp.org (SDK호환) 1 file 백호 2009.02.22 774
247 기타 Real-Time Day Night 3 백호 2009.02.22 776
246 기타 AMS-Advanced Message Script Edited by Dubleax 3 file 백호 2009.02.21 781
245 기타 Sphere Grid System file 백호 2009.02.21 786
244 기타 Activation_system file 백호 2009.02.22 786
243 기타 Terrain Encounter Areas by SephirothSpawn 백호 2009.02.22 791
242 기타 Advanced Gold display by Dubealex 1 백호 2009.02.22 792
241 기타 killer님 요청하신 스크립트입니다. 1 나뚜루 2009.02.21 797
240 기타 Selected phyolomortis.com scripts 1 file 백호 2009.02.22 797
239 기타 Damage Reductions by SephirothSpawn (SDK호환) 1 백호 2009.02.22 806
238 기타 Hero Databass 4 file 백호 2009.02.22 810
237 기타 SG_Multiple Currencies v3 by sandgolem (SDK호환) 백호 2009.02.22 816
236 기타 SG_Call Script Fix by sandgolem (SDK호환) 백호 2009.02.22 820
235 기타 Monster Arena by trickster file 백호 2009.02.22 824
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 Next
/ 13