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

Dungeon World official sheet: How can I fix the 'rolltype' value?

I recently played a modification of Dungeon World's rules called 'Unlimited Dungeon'. This Rule gives Advantage and Disadvantage to a basic 2d6 roll. (Example. 3d6kh2) I was wondering if there was a way to implement this within Dungeon World's Sheet and came across the modifiers 'rolltype' and 'damagedie' in the Attribute menu. Thinking that the values written in these modifiers define the dice used for basic rolls, I wrote this syntax into each of them... rolltype: ?{Roll type|Normal, 2d6[Normal]|Advantage, 3d6kh2[Advantage]|Disadvantage, 3d6kl2[Disadvantage]} damagedie: ?{Roll type|Normal, 1d6[Normal]|Advantage, 2d6kh1[Advantage]|Disadvantage, 2d6kl1[Disadvantage]} Just like that! However, when I checked or unchecked any of the Modifiers in the Global Modifier field of the sheet, the 'rolltype' Attribute changed back to 2d6. The 'damagedie' Attribute was fortunately unchanged. So... How can I fix this Attribute so that the Rolltype doesn't get reset by this 'Global Modifier'? I used a translator to write it. Sorry if it's hard to understand!
1731016289

Edited 1731016572
vÍnce
Pro
Sheet Author
Sounds like rolltype is a sheet attribute that cannot be accessed for "reasons..." Not the best solution but, I was able to inject your query into a Move's Details field and it seems to override any of the previous {{keys}} provided with the sheet roll. In this case our injected {{result}} will be the one used for the roll since in comes last (last key wins in a roll template if multiple keys of the same name are provided) example; (note the closing double curly brackets and extra on the end.  these help fool the roll template and keep it from failing) }} {{result=[[?{Roll type|Normal, 2d6[Normal]|Advantage, 3d6kh2[Advantage]|Disadvantage, 3d6kl2[Disadvantage]} + @{strength_mod}[strength] + 0 + (@{rollforward})[forward] + @{global_ongoing}[ongoing global]]]}} } In the image I hovered over the result to show that Advantage was used for the roll. YMMV Hope this helps. Cheers
1731019450
GiGs
Pro
Sheet Author
API Scripter
vÍnce said: Sounds like rolltype is a sheet attribute that cannot be accessed for "reasons..." If rolltype doesn't do anything, it might be something the sheet creator intended to implement later, but hasn't managed it.
1731027678
vÍnce
Pro
Sheet Author
GiGs said: vÍnce said: Sounds like rolltype is a sheet attribute that cannot be accessed for "reasons..." If rolltype doesn't do anything, it might be something the sheet creator intended to implement later, but hasn't managed it. This an official roll20 sheet so can't really tell what's going on under-the-hood.  I assume that the sheet is probably handling rolltype and some other attributes via sheetworker and maybe crp.  It doesn't show up in the attributes tab regardless.  So circumventing it by injecting a modified macro into the actual roll is an option that seems to work here.  Although it means editing each DW Move where you want to use your custom query.
1731036041
GiGs
Pro
Sheet Author
API Scripter
Yeah, I wasn't discouraging your previous post, which looks like a good approach to me. Just adding a bit of possible explanation from a sheet creator.
Both of those attributes are set by the global modifiers, so they'll update whenever the global modifiers are updated - when the global modifier is turned on, it sets the attribute to its value, and when it is turned off, it's updated to the default. As such, there isn't really a way to fix them in place, other than never touching the global modifiers again after setting the attributes. So, the per-move injection vÍnce suggested above is probably your best bet.