@EventHandler
    void buffdamage(EntityDamageByEntityEvent event){
      if((event.getDamager() instanceof Player)||(event.getEntity() instanceof LivingEntity)){
          try {
              Player p = (Player) event.getDamager();
              ItemShell is = getShell(p);
              for(int i = 2;i<19;i++){
                 if(is.getLevel(i+"")!=0){
                     LivingEntity le = (LivingEntity) event.getEntity();
                     le.addPotionEffect(new PotionEffect(PotionEffectType.getById(i),is.getLevel(i+""),1));
                 }

              }
          }catch(Exception e){}
      }
    }