I'm playing a Wild Magic sorcerer, and we've instituted a house rule to increase the possibility of a Wild Magic Surge. The chance is (spell level cast +1) or less on a d20. Currently I have a different attacher for each spell level rolling [[1d20<3]] for a second level spell, for example. This returns a 0 for no WMS, or a 1 for a WMS. I'd like to have just one attacher for all spells, for elegance's sake. Is there a way to put in the level of the spell just cast rather than the constant?