Skip to content

Drop List Chance %

Featured Replies

Solved Lock it!!!

 

 

 

 

hello all.. i need little help about droplist chance. what i mean? :

now the values when add a droplist ingame must be like this:

 

L88TNoH.png

 

Is possible to make this value on % ? i mean when i write 40 in Chance like this:

XKXb5V6.png

 

 

 

 

 

 

 

so when i write 40 = 40%. is possible? 

Edited by nikosdevil20

Solved by nikosdevil20

  • Author

1000000 -> 100%

0 -> 0,0001%

you know where is the place of calculate the chance in java? i search in admincommandhandlers but i dont find it

You can't find values in percent form. Drop chance calculate in L2Attackable.java

  • Author
  • Solution

You can't find values in percent form. Drop chance calculate in L2Attackable.java

i find something i think. in  L2DropData.java have that:   public static final int MAX_CHANCE = 1000000;

 

if i change this to 100  that works? or @@?

Locked

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.