Antimagic Ray
Tier 1 Epic abjuration
Casting Time: 1 action
Range: 300 feet
Components: V, S, M (an iron golem’s knuckle)
Duration: Instantaneous
Choose one creature, object, or magical effect within range. Any non-Epic spells and a single tier 1 Epic spell on the target ends. If the target is under the effects of a tier 2 Epic spell or higher, you may choose to not end a single tier 1 Epic spell on the target (if any) and instead attempt an ability check using your spellcasting ability to end an Epic spell of a higher tier. The DC equals 24 for a tier 2 Epic spell and 28 for a tier 3 Epic spell. On a successful check, the spell ends.
At Higher Levels. When you cast this spell as a tier 2 Epic spell, you automatically end the effects of single tier 2 Epic spell or lower and may choose to not end a single tier 2 Epic spell to attempt to end a single tier 3 Epic spell. When you cast this spell as a tier 3 Epic spell, you automatically end the effects of a single tier 3 Epic spell.
Ref: ELCR p90