[RPG] For Ring of Spell Storing, when does Wild Magic Surge trigger

dnd-5emagic-itemssorcererspellswild-magic

If a Wild Magic Sorcerer stores a spell in the Ring of Spell Storing, when can the DM ask for that player to roll a d20 to determine if a Wild Magic Surge triggers? Is it at the first casting of the spell, when it is stored, or at the second casting, when it is released?

Here is the text for it:

Ring of Spell Storing

[…] Any creature can cast a spell of 1st through 5th level into the ring by touching the ring as the spell is cast. The spell has no
effect, other than to be stored in the ring. […] The spell uses
the slot level, spell save DC, spell attack bonus, and spellcasting
ability of the original caster, but is otherwise treated as if you
cast the spell.

Best Answer

Based on the wording there, I would be inclined to say that it cannot wild surge when cast from storage unless the wild mage is also the one casting it from storage.

The spell uses the slot level, spell save DC, spell attack bonus, and spellcasting ability of the original caster, but is otherwise treated as if you cast the spell

This doesn't mention wild magic as one of the things that's retained from the original caster, so if someone other than the wild mage used the spell there would be no surge. If the wild mage is the one to use the stored spell, since it is treated as them casting the spell for everything not explicitly listed, I'd say there's a chance for a surge.

As for storing the spell, it says that the spell has no effect, but the description of the Wild Magic Surge feature says

Immediately after you cast a sorcerer spell of 1st level or higher, the DM can have you roll a d20. If you roll a 1, roll on the Wild Magic Surge table to create a random magical effect.

This strongly suggests that the wild magic effect is not part of the spell itself, as it happens after your cast the spell. In particular, no wild surge effect modifies the spell that triggered it. So it seems fair to say that storing the spell can trigger a surge.