if (args.item.type == "spell")
{
    args.item.system.cn.value = Math.floor(args.item.system.cn.value / 2);
}