{
activeChar.addSkill(skill, true);
activeChar.addExpAndSp(0, -1 * requiredSp, false, false);
Functions.removeItem(activeChar, 57, requiredAdena);
activeChar.sendPacket(new SystemMessage(SystemMessage.SP_HAS_DECREASED_BY_S1).addNumber(requiredSp), new SystemMessage(SystemMessage.SUCCEEDED_IN_ENCHANTING_SKILL_S1).addSkillName(_skillId, _skillLvl), new ExEnchantSkillResult(1));
activeChar.sendPacket(new SkillList(activeChar));
updateSkillShortcuts(activeChar);
Log.add(activeChar.getName() + "|Successfully safe enchanted|" + _skillId + "|to+" + _skillLvl + "|" + rate, "enchant_skills");
}
else
{