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