getScoreForTeleportTargetFromCardWithIntentToCard = function (card, intent, targetPosition) {
  let score = 0;
  if (targetPosition != null) {
    const targetedUnit = card.getGameSession().getBoard().getUnitAtPosition(targetPosition);
    score += ScoreForUnitTeleportTarget(targetedUnit, targetPosition);
  }
  return score;
}
Returns the score for selecting a card to be teleported
@param {Card} card
@param {Object} intent
@param {Card} targetCard
@returns {Number}
@static
@public