Jump to content
  • 0
Sign in to follow this  
Sashi

Item drop off every mob

Question

3 answers to this question

Recommended Posts

  • 0

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 by AnnieRuru

Share this post


Link to post
Share on other sites
  • 0

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 

Share this post


Link to post
Share on other sites
  • 0
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

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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