-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use a variable as a dice roll #1
Comments
See, this is a tricky one. While I get why I wanted this, I either need to make I think I like the first one better; part of being a 'variable' could simply be, "we must resolve ourself to the correct basic type on evaluation'. |
Second tricky part: How to prevent recursion? Do we not pass in the scope, do we unset our key from the scope, or do we attempt to detect recursion, and throw an error? Here's how I break those down:
At this point, after working all of that out, I'm opting for |
Let's assume I have the following scope:
I cannot do the following:
'Weapon.Damage' + 1
;Weapon.Damage
evaluates to a string, and I get'1d61'
out.The text was updated successfully, but these errors were encountered: