Perturbed magnetic-field phase slip for tokamaks