player.sendPacket(Msg.CANNOT_CRYSTALLIZE_CRYSTALLIZATION_SKILL_LEVEL_TOO_LOW);
player.sendActionFailed();
return;
}
List<CrystallizationItem> temp = new ArrayList<>();
temp.add(new CrystallizationItem(crystalId, crystalAmount, 100.0D));
if (((item.getTemplate().getItemGrade() == Grade.R) || (item.getTemplate().getItemGrade() == Grade.R95) || (item.getTemplate().getItemGrade() == Grade.R99)) && (CrystallizationManager.isItemExistInTable(item)))
{
temp.addAll(CrystallizationManager.getProductsForItem(item));
}
player.sendPacket(new ExGetCrystalizingEstimation(temp));