function Player:onGainSkillTries(skill, tries)
local target = self:getTarget()
if target and target:getName() == "Training Monk" then
tries = math.ceil(tries / 2)
end
if APPLY_SKILL_MULTIPLIER == false then
return tries
end
if skill == SKILL_MAGLEVEL then
return tries * configManager.getNumber(configKeys.RATE_MAGIC)
end
return tries * configManager.getNumber(configKeys.RATE_SKILL)
end