Jump to content
  • 0

about mob and itemdrop.


Question

Posted

hi. i just would like to ask, in which part of the src specifically handles the dropping of items on the floor when a mob is killed? i would like to do some mods to it but i'm a bit lost having seen several hints of what i'm looking for but, i don't really want to mess up my files so, i thought it'd be better if i just ask here exactly where it is.

your help would be plenty appreciated.

2 answers to this question

Recommended Posts

Posted

src/map/mob.c

static void mob_item_drop(struct mob_data *md, struct item_drop_list *dlist, struct item_drop *ditem, int loot, int drop_rate, unsigned short flag)

I think.. haha

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.   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...