View Single Post
  #1  
Old 12-14-2006, 06:54 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

FNW or KLS,

I need to test this still but I am at work and can not till I get home. I thought I would post this anyway in case you read this to get your input.

To let tradeskill containers perform a combine, I think all that needs to be added is the following:

./common/skills.h - add this line to the enum
Code:
TRADESKILL = 75
tradeskills.cpp - add this statement in Object::HandleCombine() method.
Code:
case 13: //Quest Containers
		tradeskill = TRADESKILL;
		break;
tradeskills.cpp - remove the statement that looks like the one below from Object::HandleCombine() method.

Code:
case 0x0D:
                tradeskill = POTTERY;
                break;
As I said, I still need to test this but I can't see why it won't work as I sit here and look at the code.
__________________
Read my developer notes at my blog.

Quote:
If it's not on IRC, it ain't l33t!

Last edited by WildcardX; 12-15-2006 at 12:46 AM..
Reply With Quote