protected virtual void HitTarget(EnemyEntity target) { target.DamageEntity(damage); pierce--; if (pierce <= 0) { Destroy(gameObject); } }