Sashi 3 Posted May 14, 2018 Is there an easy way to add an item that drops on every mob? or does it have to be manually Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted May 14, 2018 (edited) the easiest way I can think of is ... OnNPCKillEvent: + *getitem EDIT: prontera,159,185,5 script jskdhfjs2hfd 1_F_MARIA,{ freeloop true; .@nb = query_sql("select id from mob_db", .@id ); for ( .@i = 0; .@i < .@nb; ++.@i ) { if ( addmonsterdrop( .@id[.@i], 512, 10000 ) == false ) dispbottom "Mob ID "+ .@id[.@i] +" failed."; // else // dispbottom "Mob ID "+ .@id[.@i] +" OK."; } dispbottom .@nb +" monsters updated"; end; } yeah it works ... the RENEWAL_DROP is getting in the way comment the line in src\config\renewal.h and it works Edited May 16, 2018 by AnnieRuru Quote Share this post Link to post Share on other sites
0 Sashi 3 Posted May 14, 2018 Well, is there an easy way to switch to sql dbs at this point lol like a plug-in because it would be easy to push as a querries Ideally I'd love for it to adjust the drop rate scale able by level but that's a perfect world Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted May 16, 2018 On 5/14/2018 at 9:24 PM, Sashi said: Ideally I'd love for it to adjust the drop rate scale able by level but that's a perfect world https://github.com/HerculesWS/Hercules/blob/stable/db/re/level_penalty.txt#L13 well you can search RENEWAL_DROP inside the src folder for further investigation Quote Share this post Link to post Share on other sites
Is there an easy way to add an item that drops on every mob? or does it have to be manually
Share this post
Link to post
Share on other sites