I've have a D&D 5e question, although as a rather contrived situation I'm not sure it's suitable for the main site.
Suppose you are under the influence of a *geas* which includes the condition 'you may not cast *antimagic field*'. Then suppose you cast *antimagic field*. In doing so you have just violated the terms of your *geas* and are eligible for 5d10 psychic damage. However, you have also just suppressed the spell *geas*, which might prevent it from dealing damage.
I see a few ways this could play out: 1) You take the damage before *antimagic field* comes into effect. 2) You take damag…