Item drop off every mob

Sashi

New member
Messages
16
Points
0
Github
Sashi
Is there an easy way to add an item that drops on every mob? or does it have to be manually

 
the easiest way I can think of is ... OnNPCKillEvent: + *getitem

EDIT:

Code:
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

 
Last edited by a moderator:
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 

 
Back
Top