Jump to content

Remove From Droplist


Recommended Posts

Hello. With this config you can manage what item to delete from droplist.

This patch is for aCis packs, as you know aCis have no droplist in sql so it is very hard to open each npc and remove item from it's drop.

 

So put item ids in this config and item will remove from droplist.

 

aCis 357 rev.

 

http://pastebin.com/HWvYX088

Edited by Gam3Master
Link to comment
Share on other sites

Naaaa, no like that. Move the check before category.addDropData(data, isRaid); and use continue; (skip), it's kinda stupid to add the drop, and delete it right after that :P

Link to comment
Share on other sites

hmmm you are right, I am so dumb....

you mean like this ?

 

 

if(!Config.LIST_REMOVE_FROM_DROP.contains(data.getItemId()))
{
category.addDropData(data, isRaid);
}
Link to comment
Share on other sites

Nop.

if (Config.LIST_REMOVE_FROM_DROP.contains(data.getItemId()))
   continue;
 
category.addDropData(data, isRaid);

If your config contains X id, skip it.

Edited by SweeTs
Link to comment
Share on other sites

  • 4 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock