function doPlayerRemoveSkill(cid, skill, amount, round)
if(skill == SKILL__LEVEL) then
return doPlayerRemoveLevel(cid, amount, round) - 1
elseif(skill == SKILL__MAGLEVEL) then
return doPlayerAddMagLevel(cid, amount) - 1
end
return doPlayerAddSkillTry(cid, skill, (getPlayerRequiredSkillTries(cid, skill, getPlayerSkillLevel(cid, skill) - 1) - getPlayerSkillTries(cid, skill)) / getConfigInfo('rateSkill'))
end