[UX] Validate roll data variables inline
Now that there's some level of roll formula validation (in v10), it would be nice if that warn about unknown roll data variables used within the formula. Like, if someone is trying to use their strength mod but forgets to add .mod
so they're not accessing a number. Or if they're simply using a variable that doesn't exist at all.
Here's an example from someone in the main discord earlier today.
floor((@classes.paladin.level + @classes.scarSeekerlevel)/2)d6 + (floor((@classes.paladin.level + @classes.scarSeekerlevel) / 2))[Fey Foundling]
They forgot to include a .
between scarSeeker
and level
.