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

Quote:
Originally Posted by FidoW View Post
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...
Thats not a problem, i just find the solution... just needed to modify a little more the Store Proc to get skills

Code:
SELECT skill_id, MAX(skill_lev) as skill_lev, to_end_time 
FROM user_skill WHERE char_id = @char_id
GROUP BY skill_id,to_end_time ORDER BY 1, 2
FidoW is offline