TL :DR, mouthing off to a dragon gets you a hindering item, to teach you a lesson, Mechanically speaking, is it possible to set up a rollable table, that will output a spell with caster's stats as a result? Say I wanted whenever an evocation spell was cast, it would roll on a table to determine first if the spell would cast sucessfully, or if on a "failure" the spell would be replaced by a different spell from the same school/Spellslot level. Is it possible, if say guiding bolt was set as one of the entries, for it to roll an attack with guiding bolt using the players Spell casting stats automagically, or would the closest i could come be to give me a result then have the player cast that spell "Manually" If it is, is it possible to have it querry what school and slot level it was to determine what table to roll from?