Valentino Posted September 19, 2010 Share Posted September 19, 2010 (edited) Item Plus System Descrizione Questo script permette di ottenere più di un oggetto da ogni nemico ucciso. Autore Avon Valentino (Io) AllegatiScreenshots:http://img94.imageshack.us/img94/3810/itemplus1.pngDemo Link:http://www.mediafire.com/download.php?j34pgiw6gol132rScript: #---------------------------ITEM PLUS SYSTEM----------------------------------- #Script creato da Valentino Avon, se usate questo script creditatemi ;) #Lo script permette di ottenere più oggetti dai nemici sconfiggendoli in battaglia. #------------------------------CONFIGURAZIONE----------------------------------- module Enemy #a = armatura i = oggetto w = arma #ITEM = {ENEMYID =>[[(a/i/w),ITEMID,PROBABILITA]]} ITEM = {1 => [["a",1,30], ["i",4,40],["i",5,80]], 2 => [["i",1,40], ["w",2,40]] } end #------------------------------------------------------------------------------- class Window_BattleResult < Window_Base attr_accessor :treasures end class Scene_Battle alias item_start_phase5 start_phase5 def start_phase5 item_start_phase5 for enemy in $game_troop.enemies for item in Enemy::ITEM[enemy.id] @result_window.treasures.push($data_items[item[1]]) if item[0] == "i" and rand(100) < item[2] @result_window.treasures.push($data_armors[item[1]]) if item[0] == "a" and rand(100) < item[2] @result_window.treasures.push($data_weapons[item[1]]) if item[0] == "w" and rand(100) < item[2] end end @result_window.height = (@result_window.treasures.size * 32) + 64 @result_window.y = (380-@result_window.height)/2 @result_window.contents = Bitmap.new(@result_window.width - 32, @result_window.height - 32) @result_window.refresh @result_window.z = 9999 end end Istruzioni per l'uso Trovate tutto all'interno dello script, se lo usate creditatemi Bugs e Conflitti Noti N/A Edited April 27, 2013 by Dilos Script monoriga sistemato. Targhette Rpg2s:http://img14.imageshack.us/img14/5421/contestsecondo.png Partecipante al Rpg2s.net Game Contest #3http://www.rpg2s.net/images/gc3/gc3_firma.pngGioco in Sviluppo: DREAMS http://img16.imageshack.us/img16/2121/dreamstitle2.png SKY's CRY!http://www.rpg2s.net...showtopic=12557 Lista di script creati da me: Support System FF9 Multiscope System Advanced Armor System Protection System Trance System FF2 Development System Scene Vittoria Animato Aperion System Elemosina System Valentino's Scene Shop Item Plus System Panorama Acceleration System Conversione da VX a XP, Vehicle System Sentinel System Scene Zoolab Valentino's Random System Oggetti Riutilizzabili Break Pictures Limit Gameover Animato Valentino's Gun Mode Valentino's Ally System Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now