Archived

This topic is now archived and is closed to further replies.

Tsukihime

Note Enemy Drops

6 posts in this topic

Enemy Drops

-Tsukihime

This script allows you to setup extra drops for a "drop_item" note section (aka "drop note")

You can tag a drop note with more than one drop, but each note just takes the first one it finds.

Download

Script: http://db.tt/jxgopxan

Required: Core: Note Sections

Optional: Core: Drop Conditions - if you want to specify percentage droprates instead of denominators.

Usage

Tag a drop note with

<drop: a23 denominator>
Where the "a" can be one of

w - weapon

a - armor

i - item

And the number is the ID of the item.

The denominator is the drop probability, so 2 is 1/2 which is 50%, 3 is 1/3 which is 33%, 10 is 1/10 = 10%.

So for example

<note: drop_item 4><drop: w3 10></note><note: drop_item 5><drop: a2 50></note>
Which will add weapon 3 with a 10% chance of dropping as the 4th drop item and armor 2 with a 2% chance of dropping as the 5th item.

If you are using the Core: Drop Conditions script, then you can instead pass in a decimal value for the probabilities. This changes the droprate system to treat 0 as 0%, 0.2 as 20%, 1 as 100%, etc.

Chaos17 likes this

Share this post


Link to post
Share on other sites

i have quest about 

<note: drop_item 4>  <drop: w3 10></note><note: drop_item 5>  <drop: a2 50></note>

 

 

i have to add them in monster note right ? .... i am asking that just to make sure where i have to add them...

also

thanks for this script 

will help me to improve the drop rate quality for each monster 

 

Edit: i get error

Script 'Feature: Enemy Drops' line 74: NoMethodError occurred.

undefined method '[]' for nil:nilClass

 

i get this error when i add 

 

<drop: a4 1> for the first monster(i write it in the note of the monster) and the error show up when i defeat the monster.

Share this post


Link to post
Share on other sites

It should work now.

to make sure do i write them in note of the monster

or i go to Data\Notes\Enemies 

than i select the enemy

e.g

enemy1.txt

and write this

 

<note: drop_item 4> <drop: w3 10> </note>

 

 

inside the Notepad ?

Share this post


Link to post
Share on other sites

Yes, both options are available depending on how you prefer to use notes.

I believe that would be the correct file that is loaded.

Share this post


Link to post
Share on other sites

Yes, both options are available depending on how you prefer to use notes.

I believe that would be the correct file that is loaded.

i just removed core:drop conditions, and now working perfectly 

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.