Thread: Attunable items
View Single Post
  #1  
Old 05-15-2010, 02:25 AM
fredsbox
Fire Beetle
 
Join Date: May 2010
Posts: 9
Default

Quote:
Originally Posted by cavedude View Post
The second and more severe, it causes looted items to have a seemingly random chance of becoming NPDROP, even if they are not attuneable.
I fixed this on my server by adding the following right before the database.CreateItem calls in MakeLootRequestPackets and LootItem in the PlayerCorpse.cpp file
Code:
if(item_data)
	if(database.GetItem(item_data->item_id)->Attuneable)
		item_data->instnodrop=1;
	else
		item_data->instnodrop=0;
Reply With Quote