The spell Dispel Magic works differently compared to most spells in the game. Its purpose is to remove magical effects on a creature, object, or area. To determine if it is successful when cast, the caster makes a contested roll versus the spell to be removed. dispel magic 5e