Repel metal or stone

Repel metal or stone is an abjuration spell that pushes away stone and metal.

Effect
Like repel wood, this spell creates waves of invisible and intangible energy that roll forth from you. All metal or stone objects in the path of the spell are pushed away from you to the limit of the range. Fixed metal or stone objects larger than 3 inches in diameter and loose objects weighing more than 500 pounds are not affected. Anything else, including animated objects, small boulders, and creatures in metal armor, moves back. Fixed objects 3 inches in diameter or smaller bend or break, and the pieces move with the wave of energy. Objects affected by the spell are repelled at the rate of 40 feet per round.

Objects such as metal armor, swords, etc. are pushed back, dragging their bearers with them. Even magic items with metal components are repelled, although an antimagic field blocks the effects.

The waves of energy continue to sweep down the set path for the spell's duration. After casting the spell, the path is set, and you can then do other things or go elsewhere without affecting the spell's power.