I would be a good idea to look here:
Photo Strobe Trigger Voltages to determine the trigger voltages of the Minolta flashes. While Pentax cameras, even the electronic shutter models, like the 645n, are pretty rugged, some of the older flashes have trigger voltages high enough to fry electronics. I use a Pentax AF400T with my 645n, but be aware that used examples often come with the cord intended for the LX's front panel connectors, not to a hot shoe. See
Welcome to Bojidar Dimitrov's Pentax K-Mount Page for a rundown on the various cords. Also the AF400T is large and powerful, and eats its SIX AA cells pretty fast. The external power pack TR is a good idea. BTW, the TR is a high voltage supply, runs on 6 C cells, and is hard to find. Promaster made a compatible flash, I have one and it works fine.