{
old_skill = player.getActiveClass().getSkillsList().get(skill_id);
}
int new_level = old_skill == null ? 1 : old_skill.getLevel() + 1;
player.getActiveClass().setSkills(player.getActiveClass().getSkills() + (player.getActiveClass().getSkills().isEmpty() ? "" : ";") + skill_id);
player.sendPacket(new SystemMessage(SystemMessage.YOU_HAVE_EARNED_S1).addSkillName(skill_id, new_level));
HashMap<String, Object> variables = new HashMap<String, Object>();
variables.put("self", player.getStoredId());
callScripts("services.SubclassSkills", "showList", new Object[0], variables);
}