void attackEntity(EntityLivingBase e) {
    ChromaSounds.DISCHARGE.playSoundAtBlock(this);

    ChromaAux.doPylonAttack(e, 5, true);

    PotionEffect eff = CrystalPotionController.getEffectFromColor(color, 200, 2);
    if (eff != null) {
      e.addPotionEffect(eff);
    }
  }
 @ModDependent(ModList.ROTARYCRAFT)
 public void onEMP(TileEntityEMP te) {
   energy = rand.nextBoolean() ? 0 : this.getCapacity();
   worldObj.createExplosion(null, xCoord + 0.5, yCoord + 0.5, zCoord + 0.5, 16, false);
   ChromaSounds.DISCHARGE.playSoundAtBlock(this);
 }