{T}: Goblin Artillery deals 2 damage to any target and 3 damage to you.
If the targeted permanent or player is an illegal target by the time Goblin Artillery’s ability would resolve, the entire ability doesn’t resolve. You won’t be dealt any damage.