if(player.getClan().getReputationScore() >= repCost)
{
if(Config.LIFE_CRYSTAL_NEEDED)
{
if(!player.destroyItemByItemId("Consume", itemId, 1, trainer, false))
{
// Haven't spellbook
player.sendPacket(new SystemMessage(SystemMessageId.ITEM_MISSING_TO_LEARN_SKILL));
return;
}