if type(SkillsBindingTalents[skill_id])~="table" then return 0 end
local addskills=0
for i=1,table.getn(SkillsBindingTalents[skill_id]) do
if SkillsBindingTalents[skill_id]~=-100 then
if talentslist[TalentsID[SkillsBindingTalents[skill_id]]]==10 then
addskills=addskills+98
elseif talentslist[TalentsID[SkillsBindingTalents[skill_id]]]==5 then
addskills=addskills+98
else
addskills=98