More Enemy Drops

Discussion in 'JS Plugin Releases (RMMV)' started by Tsukihime, Nov 7, 2015.

  1. Tsukihime

    Tsukihime Veteran Veteran

    Messages:
    8,230
    Likes Received:
    3,071
    Location:
    Toronto
    First Language:
    English




    RPG Maker MV allows you to create up to three item drops for an enemy. When the battle is over, the player may receive up to any of these 3 items.

    When you specify drops, you use something called a "denominator" probability, which is basically you specifying the chances of the item dropping as a fraction of 1.
     
    [​IMG]
    For example, if an item had a 1/2 chance to drop, then it has a 50% chance to drop. If an item had a 1/3 chance to drop, then it has a 33.33% chance to drop.

    Unfortunately, with this system, you could never have any probabilities in between.

    This plugin addresses two issues:
    • You can specify more drops
    • You can specify probability using percentages
    This should give you more flexibility when designing your enemies.
    Want more freedom when it comes to enemy drops? Give this plugin a try!
     
    More information and downloads are available at HimeWorks
     
    Last edited by a moderator: Nov 7, 2015
    #1
    Risewild, Vendon, Joronjo and 5 others like this.
  2. DBDragoner

    DBDragoner Veteran Veteran

    Messages:
    123
    Likes Received:
    89
    Location:
    USA
    I didn't know how much I wanted this plugin till I saw your video. Your awesome!
     
    #2
  3. Radis3D

    Radis3D Just a Devilz Veteran

    Messages:
    172
    Likes Received:
    33
    Location:
    Surabaya, East Java, Indonesia
    First Language:
    Indonesian
    Primarily Uses:
    RMVXA
    finally, this plugin come in MV.. :3

    thank you Tsuki <3  :rock-left:   :rock-right:
     
    #3
  4. harvard1932

    harvard1932 Veteran Veteran

    Messages:
    40
    Likes Received:
    10
    I think the script doesn't drop armor...... tested with 100% drop rate, but it doesn't drop?...
     
    #4
  5. Maliki79

    Maliki79 Veteran Veteran

    Messages:
    639
    Likes Received:
    244
    Location:
    New Jersey
    First Language:
    English
    Primarily Uses:
    N/A
    Can I make a request for custom drop conditions?

    I'd love it if enemies could drop based on current states they or the actors have.
     
    #5
  6. Tsukihime

    Tsukihime Veteran Veteran

    Messages:
    8,230
    Likes Received:
    3,071
    Location:
    Toronto
    First Language:
    English
    I have just tested armors and they drop for me

    <enemy drop: a3 100%>Perhaps you have a plugin that prevents armors from dropping?
    Yes.

    I am currently thinking about how to best implement drop conditions and when they should be evaluated.

    I have another battle system add-on in progress where gold, exp, and, drops are evaluated immediately when the enemy has been defeated, so I am taking that into consideration.
     
    Last edited by a moderator: Nov 8, 2015
    #6
    Maliki79 likes this.
  7. Torqus

    Torqus Veteran Veteran

    Messages:
    169
    Likes Received:
    26
    First Language:
    English
    Something that would be a nice addition, maybe a bit complex, but would make your script the best script ever, would be the possibility to say "drop item1 item2 and item3, if one of the item drops, don't drop the others".

    In VX Ace someone modded a script and was like:

    <enemy drop1: a1 80%>

    <enemy drop1: a2 30%>

    <enemy drop1: a3 2%>

    So the armor 1 would be the most common, armor 2 is a bit harder to get and armor 3 is like a legendary item. But you could never get the 3 of them at the same time.

    And then for multiple drops you did:

    <enemy drop1: a1 80%>

    <enemy drop1: a2 30%>

    <enemy drop1: a3 2%>

    <enemy drop2: i1 50%>

    <enemy drop2: i2 50%>

    <enemy drop2: i3 50%>

    <enemy drop2: i4 50%>

    <enemy drop3:....
     
    Last edited by a moderator: Nov 8, 2015
    #7
    Tsukihime likes this.
  8. Tsukihime

    Tsukihime Veteran Veteran

    Messages:
    8,230
    Likes Received:
    3,071
    Location:
    Toronto
    First Language:
    English
    Great idea. I have thought of a solution and will implement it tomorrow.
     
    #8
  9. Torqus

    Torqus Veteran Veteran

    Messages:
    169
    Likes Received:
    26
    First Language:
    English
    Awesome! This was my favourite feature back in Ace, it's the base for an Open World game drop system. Thank you!
     
    #9
  10. cellicom

    cellicom Uncle celli Veteran

    Messages:
    41
    Likes Received:
    26
    Location:
    Palermo, Italy
    First Language:
    Italian
    I found a bug:

    It's work with only Static Battlers.
    If you use AnimateEnemies and Fixed Battlers works too.
    If you use AnimateEnemies and SV_Enemies doesn't work.

    How it can be fixed?
     
     
    #10
  11. Tsukihime

    Tsukihime Veteran Veteran

    Messages:
    8,230
    Likes Received:
    3,071
    Location:
    Toronto
    First Language:
    English
    I added the animated enemies plugin, turned it on, saw my SV slime bouncing up and down.


    Upon defeating the slime, I received all of the extra drops.
     
    Last edited by a moderator: Nov 8, 2015
    #11
  12. cellicom

    cellicom Uncle celli Veteran

    Messages:
    41
    Likes Received:
    26
    Location:
    Palermo, Italy
    First Language:
    Italian
    You have to set a [sV Animated]. Try with an Actor as enemy

    In that case doesn't work :)
     
    Last edited by a moderator: Nov 8, 2015
    #12
  13. Luxanna

    Luxanna Veteran Veteran

    Messages:
    67
    Likes Received:
    23
    Location:
    Demacia
    First Language:
    English
    I desperately needed this. Thank you.
     
    #13
  14. NakedGrif

    NakedGrif Villager Member

    Messages:
    23
    Likes Received:
    1
    Location:
    Kentucky
    First Language:
    English
    I am having issues too, I have animated SV battlers and I tried it with a 100% drop, not dropping anything. Is there a certain plugin it needs to be above or below?
     
    #14
  15. Tsukihime

    Tsukihime Veteran Veteran

    Messages:
    8,230
    Likes Received:
    3,071
    Location:
    Toronto
    First Language:
    English
    I have tried it with animated battlers along with the SV animation tag.


    Here are the results after finishing the battle


    [​IMG]


    100% droprate for four items added through note-tags.


    I have placed the animated plugin both above and below the enemy drops plugin, and the results are the same.


    If my setup is incorrect please clarify.


    There may be something else that's the problem.


    Disable all other plugins except these two to verify that they work, then start turning others on.
     
    Last edited by a moderator: Nov 9, 2015
    #15
  16. NakedGrif

    NakedGrif Villager Member

    Messages:
    23
    Likes Received:
    1
    Location:
    Kentucky
    First Language:
    English
    Whats weird for me is I have one enemy with a drop rate of 75% that always drops, yet one that has a 100% that never drops. Same tag, minus the percentages

    On looking at the drops, the 75% rate drops 100% of the time is a weapon, not an item... 

    And its set to 45% (sorry for multiple edits, Im not use to checking everything so thoroughly)
     
    Last edited by a moderator: Nov 9, 2015
    #16
  17. Tsukihime

    Tsukihime Veteran Veteran

    Messages:
    8,230
    Likes Received:
    3,071
    Location:
    Toronto
    First Language:
    English
    Maybe you can copy-paste the note-tags you've used in case there is a mistake somewhere.


    For the drop rate, it is perfectly possible that you might just happen to get lucky and hit those 45% drops a bunch of times.


    Now, if your drop rate was 0% and you were getting it 100% of the time that's a different story.
     
    Last edited by a moderator: Nov 9, 2015
    #17
  18. NakedGrif

    NakedGrif Villager Member

    Messages:
    23
    Likes Received:
    1
    Location:
    Kentucky
    First Language:
    English
    So I went back in and changed things around. The only time I dont get drops is when the items are something Ive created. The particular item Im trying to test is my i25, which isnt anything special. Ive made weapons and got them to drop, same for armor. I tried using i1 and that drops just fine.
     
    #18
  19. NakedGrif

    NakedGrif Villager Member

    Messages:
    23
    Likes Received:
    1
    Location:
    Kentucky
    First Language:
    English
    It only seems to fail when the item # is multiple digits. I tested it for items, armor and weapons.
     
    #19
  20. Tsukihime

    Tsukihime Veteran Veteran

    Messages:
    8,230
    Likes Received:
    3,071
    Location:
    Toronto
    First Language:
    English
    I've found the problem and have updated the plugin to a new version.


    See if the new version works for you.


    Thanks for the report.
     
    #20

Share This Page