The attack came as Pakistani warplanes bombed Taliban bases in the tribal regions .