public static void useCrystal(final Player player, int id) {
		if(!(player.getControlerManager().getControler() instanceof FightKiln)
				|| player.getTemporaryAttributtes().get("FightKilnCrystal") != null)
			return;
		player.getInventory().deleteItem(new Item(id, 1));
		switch(id) {
		case 23653: //invulnerability
			player.getPackets().sendGameMessage("<col=7E2217>>The power of this crystal makes you invulnerable.");
			player.getTemporaryAttributtes().put("FightKilnCrystal", Boolean.TRUE);
			player.setInvulnerable(true);
			CoresManager.slowExecutor.schedule(new Runnable() {
				@Override
				public void run() {
					player.getTemporaryAttributtes().remove("FightKilnCrystal");
					player.getPackets().sendGameMessage("<col=7E2217>The power of the crystal dwindles and you're vulnerable once more.");
					player.setInvulnerable(false);
				}
			}, 15, TimeUnit.SECONDS);
			break;
		case 23654: //RESTORATION
			player.heal(player.getMaxHitpoints());
			player.getPrayer().restorePrayer(player.getSkills().getLevelForXp(Skills.PRAYER) * 10);
			player.getPackets().sendGameMessage("<col=7E2217>The power of this crystal heals you fully.");
			break;
		case 23655: //MAGIC
			boostCrystal(player, Skills.MAGIC);
			break;
		case 23656: //RANGED
			boostCrystal(player, Skills.RANGE);
			break;
		case 23657: //STRENGTH
			boostCrystal(player, Skills.STRENGTH);
			break;
		case 23658: //CONSTITUTION
			player.getTemporaryAttributtes().put("FightKilnCrystal", Boolean.TRUE);
			player.setHpBoostMultiplier(0.5);
			player.getEquipment().refreshConfigs(false);
			player.heal(player.getSkills().getLevelForXp(Skills.HITPOINTS) * 5);
			player.getPackets().sendGameMessage("<col=7E2217>The power of this crystal improves your Constitution.");
			CoresManager.slowExecutor.schedule(new Runnable() {

				@Override
				public void run() {
					try {
					player.getTemporaryAttributtes().remove("FightKilnCrystal");
					player.getPackets().sendGameMessage("<col=7E2217>The power of the crystal dwindles and your constitution prowess returns to normal.");
					player.setHpBoostMultiplier(0);
					player.getEquipment().refreshConfigs(false);
					} catch (Throwable e) {
						Logger.handle(e);
					}
				}
					
			}, 210, TimeUnit.SECONDS);
			break;
		}
	}