public void aStarDamaged(double damage) {
    // can have a multiplier here to reduce health damage due to spells or armor
    if (armor > 0 & protectSpell > 0) {
      health -= (damage - (damage / armor) - (damage / protectSpell));
    } else health -= damage;

    if (isDead()) {
      Sound.SoundEffect.FEMALE_DEAD.play();
      level.getClientPlayer().xp += Experience.calculateXPFromMob(this);
      level.getClientPlayer().totalXP += Experience.calculateXPFromMob(this);
      level.add(new ParticleSpawner((int) x, (int) y, 44, 50, level, 0xffc40000));
      remove();
    }
  }