Jump to content
  • 0
Sign in to follow this  
Zirius

@whodrops LIST to only show items that are dropped by mobs

Question

I think this would be great feature for Hercules.

 

On @whodrops Knife, Hercules would first list all "Knife" items from item_db, composed of Knife_,Knife__, etc.

The thing is, I don't think players are interested at knowing items that are not even dropped by mobs (unless otherwise specified by @whodrops ID), so I think there should be no more reason to show them, plus there's @iteminfo to do that.

 

What the current script does, is list all the items that has the keyword knife, then one by one get the names and drop chance of each.

What I think should be better (though I think more resource consuming), pull all the items that are listed on the mob drops in mob_db, then from that list, start searching. This way, @whodrops will not show any more of those Rental Boxes, etc.

 

I'd been playing with that atcommand.c for sometime now, and can't get it work.

 

LOL.

 

Thanks!

 

Add. I think the better way is, for the herc to create a cache at init, to list all items under mob_db. Then @whodrops, it would retrieve only items inside that cache. The cache would be refreshed/regenerated upon @reloaditemdb/@reloadmobdb

 

Thanks!

Edited by Zirius

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.