View Single Post
Old 05.08.2007, 12:49   #5
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by PyroMaker View Post
3rd question: Is subclass stacking possible? If so, can you please help me?

Answer: Well I am quite sure it is possible when it comes to L2OFF but it would involve a shitload of work and you'd have to change a lot of stuff.
Yeah, now i understand the question xD

I think the only thing needed is modify the Store Procedure that get skills [lin_GetAquireSkill]

Im not complety sure but using the logic... looks the way to do it....

replace in that procedure
Code:
SELECT skill_id, skill_lev, to_end_time FROM user_skill WHERE char_id = @char_id AND ISNULL(subjob_id, 0) = @subjob_id ORDER BY 1, 2
With this:
Code:
SELECT DISTINCT skill_id, skill_lev, to_end_time FROM user_skill WHERE char_id = @char_id ORDER BY 1, 2
If you modify that store proc before working the normal way i think... maybe some problems can be present like having 2 identical skills of differents levels...or another similar problems... if you arent thinking about reversing that to the initial situation you can simply update all skills to subjob = 0 and delete duplicate skills... also you can modify Store Proc that set skills to db [lin_SetAquireSkill] to store all in the main class...
FidoW is offline