Are you referring to a patient who has a permanent pacemaker?
(welcome to the forum, by the way [BTW]

)
If so, alkalosis and acidosis
will increase the pacing threshold.
Decreased extracellular potassium level changes the RMP (resting membrane potential), making capture more difficult.
Acute increase in extracellular potassium level (as with myocardial ischemia or rapid K+ replacement) also changes the RMP, resulting in easier capture.
(I had to google to review.

)
Also: what is the background of your last question re: giving atropine for bradycardia?
The following members say Thank You: