Cain's Curse of Covetousness (3.5e Spell)

''Cain was a little-known battlemage under the employ of a small but ambitious kingdom. Rather than risk an assault on a well-fortified enemy position, he ordered his men to load their catapults with gold ingots enchanted with this spell. After numerous salvos of gold bullion, the city’s garrison had torn itself apart fighting for the prizes. Cain’s battalion soon entered the city unopposed, but under strict orders to give the makeshift ammunition a wide berth.''

The caster of this spell designates an object within range, to which creatures in the immediate vicinity become magically attracted. In order for a creature to be affected by this spell, the item must be of a sufficiently small size that they can pick it up with reasonable ease (for the purposes of this spell, such an item is generally three size categories smaller than the creature, so a Medium-sized being can be affected if the ensorcelled object is of Tiny size or smaller).

Such creatures within 30 feet must make a Will save or be compelled to acquire the object by any means available to them, even violent ones if the item is already in possession of another creature. Creatures who enter the spell's area of effect, whether they entered on their own or the item was brought closer to them, are subject to its effects as well. This compulsion ends when the spell expires.

This effect can be removed from the item by remove curse, break enchantment, or similar effects. Doing so immediately ends any compulsion created by the spell. Cain’s curse of covetousness can also be made permanent via the permanency spell. When the spell is permanent, a creature that saves successfully against the effect is immune for 1 hour.