Global Drop Rate

Post Reply
Vanclaive
Posts: 3
Joined: Sun Sep 02, 2012 10:24 am

Global Drop Rate

Post by Vanclaive » Sat Feb 22, 2014 12:15 am

I hate to ask, but is there a global drop rate modifier?

I see that in map_darkstar.conf there's a 'THF_in_party_for_drops' entry. Is this just a binary 1/0 yes/no thing? Or can a higher value be put in there to multiply the effect?

If so, great!

If not, then where does one go to globally affect drop rates for things? I found nothing in ../scripts/globals (or ../scripts/anywhere, really) to affect it either.

User avatar
TeoTwawki
Developer
Posts: 527
Joined: Mon Jul 15, 2013 9:50 pm

Re: Global Drop Rate

Post by TeoTwawki » Sat Feb 22, 2014 3:59 am

I'd look in ai_mob_dummy.cpp where treasure hunter gets applied.

Clarification: I am suggesting you add one in your working copy, because a global one does not exist in DSP trunk. Look at how the other "mapconfig.THING" are done, its pretty easy.
Last edited by TeoTwawki on Sat Feb 22, 2014 7:30 pm, edited 3 times in total.
Hi, I run The Demiurge server.


Image
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
PLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
DO NOT PRIVATE MESSAGE ME ABOUT BUGS

User avatar
atom0s
Developer
Posts: 537
Joined: Thu Oct 25, 2012 9:52 am

Re: Global Drop Rate

Post by atom0s » Sat Feb 22, 2014 2:58 pm

Drop rates are per-item and based on if a THF is in the party. If you wish to adjust your servers drop rates, you will have to edit them in the database.

Post Reply