Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Is there any way to get the last die roll results without the API ?

I already know the answer to this question is NO, but - I'm building a character sheet for WHFRP 4thed and the mechanics are such that if you roll an attack roll ( d100 ) and it's a double that counted as a critical hit or a fumble depending on whether your contested attack roll succeeds or fails. In order to get  the hit location you need to feed the reverse die rolls into a table. If I can feed the last true die roll into various die roll macros it should be possible to detect whether it's a fumble and determine the hit location without using the API which will means the sheet can be made available to community members without PRO level accounts.
1535461022
The Aaron
Pro
API Scripter
Could you separate the rolls and use some conditional Roll Template rules to show the hit location, crit, and fumble stuff, then combine them  in the final output?
1535461093

Edited 1535470079
GiGs
Pro
Sheet Author
API Scripter
There's no way to get the last roll without the API. However, you can build dice macros to get a lot of information from the roll (like 1d100cs11cs22cs33cs44cs55cs66cs77cs88cs99cs00 will tell you if its a double). If you're building a sheet, you can also use a rolltemplate and that gives you access to logical operators to examine the roll and print specific things out on certain results, which you can use to determine hit location, whether the attack hit or misses, etc. There is in fact another WFRP sheet being developed that may already have a solution to this problem. See this post , and jump to the latest posts for the current version of the character sheet being developed there.
Cheers for the info I'll check out that other sheet. I've not used Roll Templates before so they could well be the solution.