Extra Enemy Drops

● ARCHIVED · READ-ONLY
Started by Vlue 6 posts View original ↗
  1. Extra Enemy Drops 1.0
    By Vlue
    Introduction
    Pretty simple. You can normally only set up to three drops from one enemy. That's boring (I don't like limits). So this script lets you avoid that by allowing you to set as many items as you want to drop from an enemy, as well as a max number of different items to be dropped all together.

    Features
    - Add more than three item drops.

    How to Use
    Set up notetags for extra items as needed. Play.

    Script
    Pastebind: http://pastebin.com/k9a9LXZ6

    FAQ
    Q: My Banana's gone soft. What do I do?
    A: Make banana bread.

    Credit and Thanks
    - By Vlue
    - Free to use in any project, commercial or otherwise, with credit given.
  2. I like banana bread!!

    Pretty cool script =D
  3. If you don't like banana bread that's the sure sign that your a demon....or allergic to bananas. 

    Great script Vlue. This will go great with people who don't use yanfly's script.
  4. Please fix the typo - missing entire line of code here

    Spoiler
    class Game_Enemy
      def make_drop_items
        iter = 0
        enemy.drop_items.inject([]) do |r, di|
          if di.kind > 0 && rand * di.denominator < drop_item_rate && iter < MAX_ENEMY_DROPS
            iter += 1
            r.push(item_object(di.kind, di.data_id))
          else
            r
          end
        end
      end
    end
  5. Hello Vlue, :) I noticed when i run with script with Yanfly's Passive state script i get an error in Yanbfly'sPassiveStates' Line 198 NoMethodError occured. Unidentified method 'each' nil: NilClass. It happens when running a new game. Have you encountered this issue and do you possible know how to fix it? If not i can try another script. I am using a couple of yours already so id love to stick with certain scripts for my project. If you would like i can set up a link with a demo of the issue.

    Thanks again!, You an awesome scripter btw! Keep it up :)
  6. Hey, how does it work if i want a specific item to give an extra % chance of drop.
    EX: 1 Gold card = +0.1% drop chance on all items, weapons, armors that enemies drop.
    10 Gold card = +1% drop chance…….etc


    so for example: Normal drop rate for potion = 50% on Slime monster
    (10 Gold card in inventory) drop rate for potion= 51% on Slime monster


    Can someone help me with how to do this.
    Please