Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

  • 0

Help How to Change the Droplist Chance


Go to solution Solved by KaLeDoR,

Question

Hi guys is there any easy way to adapt the chance of droplist? For example crafted leather dropchance 15% to edit it to x3 chance? [45% chance] i'm asking if there is an easy way adapting all dropchances  of all mobs without editing l2attackable. Or i should make a new config for the chances ? 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
  • Solution

 

Thank you @Rootware but i found a sql statement to adapt my chances easier and leaving some mobs i dont wanna change retail. ty very much for your time!

 

if anyone need it here it is:

Update `droplist` SET `chance` = `chance`*8 Where NOT `mobId` IN ('1','2','3',...)

 Lock this topic!

Edited by KaLeDoR

Share this post


Link to post
Share on other sites
  • 0

You need to make the addon with using for each item unique drop rate multiplier. And when npcs will loading apply unique rates. This is not hard. A lot of work will with preparing item list with rates.

 

XML data may looks like this:

<item id="57" rate="100000"/>

So, for each item with ID 57 will added specified value when drop list will loading.

Share this post


Link to post
Share on other sites
  • 0

In your case drop change of specified items will calculates each time when monster is died. In my case all drop chances will defined in server start.

 

If the list of items is not long, then do anything and anywhere.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.