{
return;
}
if (!isValid(activeChar, targetItem, refinerItem, gemstoneItem))
{
activeChar.sendPacket(new ExVariationResult(0, 0, 0), Msg.AUGMENTATION_FAILED_DUE_TO_INAPPROPRIATE_CONDITIONS);
return;
}
if (TryAugmentItem(activeChar, targetItem, lsi))
{
int stat12 = 0x0000FFFF & targetItem.getAugmentationId();
int stat34 = targetItem.getAugmentationId() >> 16;
activeChar.sendPacket(new ExVariationResult(stat12, stat34, 1), Msg.THE_ITEM_WAS_SUCCESSFULLY_AUGMENTED);
}
else
{
activeChar.sendPacket(new ExVariationResult(0, 0, 0), Msg.AUGMENTATION_FAILED_DUE_TO_INAPPROPRIATE_CONDITIONS);
}
}