View Single Post
  #5  
Old 11-27-2012, 07:06 AM
Drajor's Avatar
Drajor
Developer
 
Join Date: Nov 2012
Location: Halas
Posts: 355
Default

I changed my code to use CreateBaseItem() however the result is still the same. I thought you had it solved c0ncrete! Thank you

EDIT: New code FYI:

Code:
	// Class Charms.
	const int BASE_CHARM = 3400;
	const int NUM_CHARM_RANKS = 100;
	const Item_Struct* classCharm =  GetItem(BASE_CHARM + ((pp->class_-1) * NUM_CHARM_RANKS));
	inv->PutItem(inv->FindFreeSlot(0,0), *CreateBaseItem(classCharm, 0));
__________________
Drajor regards you indifferently -- what would you like your tombstone to say?
Reply With Quote