Quote:
Originally Posted by FidoW
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...
|
US :In mine in case that it is the following one, the Player goes in the NPC makes the SubClass more I did not want that I disappeared skill of the main class understands?
PT :No meu caso é o seguinte, O Player vai no NPC faz a SubClass mais eu não queria que sumisse as skill classe principal entende?