TradeSkills Patch
Replace the "switch(combin->tradeskill)" switch in client_process.cpp with the following:
Code:
switch(combin->tradeskill)After you do that. Change the following: Code:
if ((pp.gm==1) || (chance > ((float)rand()/RAND_MAX*100))){Code:
if ((pp.gm==1) || (chance > ((float)rand()/RAND_MAX*100))){We added a boolean of true to the deleteitem so that it would update the clients items so they couldnt keep making the item with the same components. Do the same to: Code:
elseCode:
elseI think that is all the tradeskills, if you find one I dont have listed, let me know and Ill find it. -LethalEncounter |
Ive merged this in... Thanks for the update!
|
Great work, that should improve the functionality of tradeskills a lot (now all we need is ovens, forges, etc in the cities).
Will this also fix quest containers, or do they use a seperate tradeskill? |
| All times are GMT -4. The time now is 10:11 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.