Program: 12713
Project: 12713
Buggy source:
@Override public void onLivingUpdate(){
  this.isJumping=false;
  if (this.entityToAttack != null) {
    if (this.rand.nextInt(300) == 0) {
      this.faceEntity(this.entityToAttack,100.0F,100.0F);
    }
  }
  if (!this.worldObj.isRemote && this.isEntityAlive()) {
    if (disappearDelay > 0) {
      if (--disappearDelay == 1) {
        this.teleportAway();
      }
    }
    if (this.isInWater() || this.handleLavaMovement()) {
      this.teleportRandomly();
    }
    if (this.ticksExisted % 60 == 0) {
      if (damageCounter > 30) {
        if (this.teleportRandomly()) {
          damageCounter=0;
        }
 else {
        }
      }
 else {
        damageCounter=0;
      }
    }
    if (this.entityToAttack != null) {
      if (this.entityToAttack instanceof EntityPlayer) {
        if (getMinionHandler().getMinionCount() < 4 && rand.nextInt(80) == 0) {
          EntitySaveableVampireMinion entity=(EntitySaveableVampireMinion)Helper.spawnEntityBehindEntity((EntityLivingBase)this.entityToAttack,REFERENCE.ENTITY.VAMPIRE_MINION_SAVEABLE_NAME);
          if (entity != null) {
            entity.setLord(this);
            entity.addPotionEffect(new PotionEffect(Potion.damageBoost.id,20000,2));
            minionInHomeDist(entity);
          }
        }
      }
    }
    if (this.ticksExisted % 100 == 0 && this.hasHome() && this.getMinionHandler().getMinionCount() < 1) {
      EntityVampireMinion minion=(EntityVampireMinion)Helper.spawnEntityInWorld(worldObj,castle,REFERENCE.ENTITY.VAMPIRE_MINION_SAVEABLE_NAME,3);
      if (minion != null) {
        minion.setLord(this);
        minion.addPotionEffect(new PotionEffect(Potion.resistance.id,20000,3));
      }
    }
  }
  if (this.getHealth() > DraculaAIHeal.THRESHOLD * 2 && BALANCE.MOBPROP.DRACULA_REGENERATE_SECS >= 0 && this.ticksExisted % (BALANCE.MOBPROP.DRACULA_REGENERATE_SECS * 20) == 0 && (this.getLastAttackerTime() == 0 || this.getLastAttackerTime() - ticksExisted > 100)) {
    this.heal(5F);
  }
  super.onLivingUpdate();
  BossStatus.setBossStatus(this,true);
}

Fixed version (ground truth):
@Override public void onLivingUpdate(){
  this.isJumping=false;
  if (this.entityToAttack != null) {
    if (this.rand.nextInt(300) == 0) {
      this.faceEntity(this.entityToAttack,100.0F,100.0F);
    }
  }
  if (!this.worldObj.isRemote && this.isEntityAlive()) {
    if (disappearDelay > 0) {
      if (--disappearDelay == 1) {
        this.teleportAway();
      }
    }
    if (teleportDelay > 0) {
      teleportDelay--;
    }
    if (this.isInWater() || this.handleLavaMovement()) {
      this.teleportRandomly();
    }
    if (this.ticksExisted % 60 == 0) {
      if (damageCounter > 30) {
        if (this.teleportRandomly()) {
          damageCounter=0;
        }
 else {
        }
      }
 else {
        damageCounter=0;
      }
    }
    if (this.entityToAttack != null) {
      if (this.entityToAttack instanceof EntityPlayer) {
        if (getMinionHandler().getMinionCount() < 4 && rand.nextInt(80) == 0) {
          EntitySaveableVampireMinion entity=(EntitySaveableVampireMinion)Helper.spawnEntityBehindEntity((EntityLivingBase)this.entityToAttack,REFERENCE.ENTITY.VAMPIRE_MINION_SAVEABLE_NAME);
          if (entity != null) {
            entity.setLord(this);
            entity.addPotionEffect(new PotionEffect(Potion.damageBoost.id,20000,2));
            minionInHomeDist(entity);
          }
        }
      }
    }
    if (this.ticksExisted % 100 == 0 && this.hasHome() && this.getMinionHandler().getMinionCount() < 1) {
      EntityVampireMinion minion=(EntityVampireMinion)Helper.spawnEntityInWorld(worldObj,castle,REFERENCE.ENTITY.VAMPIRE_MINION_SAVEABLE_NAME,3);
      if (minion != null) {
        minion.setLord(this);
        minion.addPotionEffect(new PotionEffect(Potion.resistance.id,20000,3));
      }
    }
  }
  if (this.getHealth() > DraculaAIHeal.THRESHOLD * 2 && BALANCE.MOBPROP.DRACULA_REGENERATE_SECS >= 0 && this.ticksExisted % (BALANCE.MOBPROP.DRACULA_REGENERATE_SECS * 20) == 0 && (this.getLastAttackerTime() == 0 || this.getLastAttackerTime() - ticksExisted > 100)) {
    this.heal(5F);
  }
  super.onLivingUpdate();
  BossStatus.setBossStatus(this,true);
}