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

WoD style d10 die pools

I am so confused. I want to make a roll table that rolls a number of d10s and counts successes thusly: 1 (-1 success) 2-6 (0 success) 7-9 (1 success) 0 (2 success) ...and then tells you how many successes you get. I've read this:&nbsp; <a href="https://wiki.roll20.net/Roll_Table" rel="nofollow">https://wiki.roll20.net/Roll_Table</a> and also this: <a href="https://wiki.roll20.net/Script:Exalted_Successes" rel="nofollow">https://wiki.roll20.net/Script:Exalted_Successes</a> I can't figure it out, tho. Help? Thanks.
1609781851

Edited 1609781866
David M.
Pro
API Scripter
To create a rollable table, click on the Collections tab of the chat window (the three horizontal lines preceded by dots, where the macros are). Scroll down to the bottom to find Rollable Tables, and click "+Add". Then click on the newly created table to edit it. First rename it to whatever, like "ExaltedD10". Now you are ready to add items to the table, via "+Add Item". The probability of rolling each item is related to how you weight it. So, for your table, you would add four items, and weight them as described in your second link above. Name Weight -1 1 0 5 1 3 2 1 To roll from the table with a macro, ability, or directly from chat, you use the [[ 1t[TableName] ]] syntax. So, for our current example if you typed [[1t[ExaltedD10]]] into the chat window (or in a macro), it would roll on the table and return one of the item values in the chat. You could also roll the table from within a template to make it more readable. A sample using the default template is shown here, with the caveat that I don't know the first thing about Exalted mechanics. &amp;{template:default} {{name=I'm attempting something with Exalted dice!}} {{Num Successes=[[5t[ExaltedD10]]]}} Note in the above example, we're rolling 5 times on the ExaltedD10 table. Roll20 will automatically add all of the resulting successes together, so rolls of 1,2,1,1,-1 will return the single value "4". If you mouse over the returned (total) result, you will see the individual results listed.&nbsp;&nbsp;
Thanks for the reply - and that's something I tried already - but I remain confused, if not more. I have setup a table as shown, but the results are really weird. This: [[9t[ExaltedD10]]] &nbsp; Gives me something like this:&nbsp; Rolling 9t[ExaltedD10]=(1+0+1+1+1+1+0+2) Then:&nbsp; 5 This: &amp;{template:default} {{name=I'm attempting something with Exalted dice!}} {{Num Successes=[[5t[ExaltedD10]]]}} Gives me something like this (minus the text): Rolling 5t[ExaltedD10]=(1+1+1+1+0) Then: 2 I have no idea what that all means. It seems to roll only 0 and 1 and occasionally a 2.
1609788543

Edited 1609788813
David M.
Pro
API Scripter
Hmm, the tables and arithmetic seem to be working properly for me. Are you sure your table items are set up properly? Should look like the screenshot below. I opened the "0" item to show how the weighting is set up. You can see from the mouse-over that -1's are being rolled and lower the total num successes. The returned text you described would be accurate if one of the "1's" you typed were actually "-1's". Note that Roll20 will write 1 + -1 = 0, and not 1-1=0. EDIT - Also note that the rollable table only returns the num of successes from each "d10" roll, not the d10 roll itself. The table is weighted to give you results with the same probability as rolling the d10's and comparing to the success chart. So, it will only "roll" a -1, 0, 1, or 2.&nbsp;
Okay I think I'm getting this. The 1s and 0s and 2s aren't what the dice are actually rolling (0-9), just whether it's a success or not. Right? I can paste that whole big long line into the chat and it works, and it seems to work from the macro test button (I'm not sure how to call a macro from the chat, though). Is there a way to set how many d10s are rolled each time you use it? There's Type @ to insert variables from characters, but when I fiddle with it I get an angry message about incorrect syntax. :(
1609789543

Edited 1609789788
David M.
Pro
API Scripter
Responses in Bold below. smellhole said: Okay I think I'm getting this. The 1s and 0s and 2s aren't what the dice are actually rolling (0-9), just whether it's a success or not. Right? Correct! I can paste that whole big long line into the chat and it works, and it seems to work from the macro test button (I'm not sure how to call a macro from the chat, though). Is there a way to set how many d10s are rolled each time you use it? Try this. It queries for the number of dice, then outputs the results and num dice to the chat output. You can obviously change the "name" to whatever you want. &amp;{template:default} {{name=I'm attempting something with Exalted dice!}} {{Num Successes=[[ ?{NumDice?|1}t[ExaltedD10]]]}} {{Num Dice Rolled=[[?{NumDice?}]]}} There's Type @ to insert variables from characters, but when I fiddle with it I get an angry message about incorrect syntax. :( Would need some more specific information from you to know what attribute you are trying to reference and how it relates to the die rolls&nbsp; EDIT - more info on roll queries can be found here . EDIT 2 - To reference an attribute on a specific character, the syntax is @{CharName|AttributeName}. You can also use @{selected|AttributeName} instead of hardcoding, but you will have to select the token that is tied to the character before running the macro. If you are using character "Abilities" (but sounds like you're not), the syntax is just @{AttributeName}.
Yay, it works! Thank you so much! I've been trying to get this to work on various VTTs for months now. This is great!
1609790451

Edited 1609790653
David M.
Pro
API Scripter
Great! Some more about the attribute references: Simple example - Character named "Bob" with a custom attribute called "BonusSuccess", set to a value of "1". Let's say this attribute is just added to the total number of successes every time Bob rolls a set of dice on the ExaltedD10 table. Instead of just [[ 1t[[ExaltedD10] ]] you would want him to instead use: [[ 1t[ExaltedD10] + @{Bob|BonusSuccess} ]] or if you wanted tooltips for the mouseover to know where the numbers come from: [[ 1t[ExaltedD10][BaseRoll] + @{Bob|BonusSuccess}[Bonus] ]] Or substitute "selected" in place of "Bob" to make it more generic (though will error if used for a character that doesn't have the "BonusSuccess" custom attribute.