We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'd like to control the dice rolled from the calling site and not only from the declaration site.
Exemples
dice: 1d8+4 [](page.md^bookmark)
dice: 1d11 [](page.md^bookmark) dice: 1d11 [](page.md^bookmark)
The text was updated successfully, but these errors were encountered:
For what it's worth, I was able to make this work by executing:
const roller = getRoller("[[Page^table]]"); await roller.getResult(); // to make sure lookupTable is created roller.lookupRoller = getRoller("1d21 + 5")
lookupRoller doesn't get created until the first call to getResult, but after that it can be overridden.
lookupRoller
getResult
Sorry, something went wrong.
86599ec
Successfully merging a pull request may close this issue.
I'd like to control the dice rolled from the calling site and not only from the declaration site.
Exemples
dice: 1d8+4 [](page.md^bookmark)
would pull only in the last 8 items from a table of 12.dice: 1d11 [](page.md^bookmark) dice: 1d11 [](page.md^bookmark)
would allow the 12th element of a table to roll twice on the other elements.The text was updated successfully, but these errors were encountered: