text: If the target creature is an illegal target when Surly Badgersaur’s last ability tries to resolve, the ability doesn’t resolve. If it’s a legal target but Surly Badgersaur is no longer on the battlefield when the ability resolves, the target creature won’t deal or be dealt damage.