healer with identify

Here's the basic loop for an identifier. Just add this in a healer npc.

Code:
getinventorylist;
for( set .@i,0; .@i < @inventorylist_count; set .@i, .@i + 1 ) {
	if ( @inventorylist_identify[.@i] == 1 ) continue;
	delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0;
	getitem @inventorylist_id[.@i],1;
}
 
Back
Top