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

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.