Jump to content
  • 0

How to Change the Droplist Chance


Question

Posted

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 ? 

5 answers to this question

Recommended Posts

  • 0
Posted (edited)

 

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
  • 0
Posted

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.

  • 0
Posted

thank you for your reply but i'm thinking, if i make a config in l2attackable wont be easier than writing every id i want to increase the chance?

  • 0
Posted

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.

Guest
This topic is now closed to further replies.
×
×
  • Create New...