@SuppressWarnings("static-access")
    @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)
    public void onMobDamage (EntityDamageByEntityEvent event) {
        Entity entity = event.getEntity();
        Entity damager = event.getDamager();
        if (entity instanceof Skeleton) {
            final Skeleton lich = (Skeleton) entity;
            if (damager instanceof Player) {
                final Player player = (Player) damager;
                if (MMLich.isLich(lich)) {
                    plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() {
                        public void run () {
                            Random rand = new Random();
                            int i = rand.nextInt(5);
                            int j = rand.nextInt(5);
                            int k = rand.nextInt(5);
                            int l = rand.nextInt(5);
                            Location lichLoc = lich.getLocation();
                            lichLoc.add(i + 0 - j, 0, k + 0 - l);
                            lichLoc.getWorld().getHighestBlockAt(lichLoc).getLocation();
                            lich.getWorld().playEffect(lich.getLocation(), Effect.MOBSPAWNER_FLAMES, 1);
                            lich.getWorld().playSound(lich.getLocation(), Sound.GHAST_FIREBALL, 0.7F, 1.0F);
                            Zombie undead = (Zombie) lichLoc.getWorld().spawnEntity(lichLoc, EntityType.ZOMBIE);
                            undead.getEquipment().setHelmet(new ItemStack(Material.GLOWSTONE_DUST, 1));
                            undead.getEquipment().setHelmetDropChance(0.0F);
                            undead.addPotionEffect(new PotionEffect(PotionEffectType.FIRE_RESISTANCE, 2147483647, 10));
                            undead.addPotionEffect(new PotionEffect(PotionEffectType.INCREASE_DAMAGE, 2147483647, 1));
                            undead.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 2147483647, 2));
                            undead.addPotionEffect(new PotionEffect(PotionEffectType.WATER_BREATHING, 2147483647, 1));
                            undead.setTarget(player);
                        }
                    }, 15L);
                }
            }
        }
    }