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 .
×

Creating roll macros to use for sheet rolls with roll templates

I'm currently creating a custom character sheet for Splittermond , and intend to bring it into the community made sheets when it's done (there is none for Splittermond yet). The basic sheet is ready and now I'm implementing the functionality, but I'm a bit stuck. In Splittermond you have strategic rolls, meaning you can throw the normal roll with 2d10, a safe roll with 2d10 were only the highest is counted, or a risk roll where 4d10 are used and the highest 2 count, but you can fumble with all 4. I want to have these 3 rolls for different attributes in my sheet. The problem is that it isn't possible (or at least I think so) to apply the wanted behavior regarding the resulting points after the different rolls and also the fumble ruleset. As far as I understand, I'd need to have a macro that I can call so the roll templates already get the result, somehow along this lines: &{template:RiskRoll} {{name=Endurance}} {{BaseValue=@{Endurance}}} {{Value=#EnduranceRiskRollMacro + @{Endurance}}} But, is there even a way to define macros in my character sheet? Also, this way I'd still have problems determining the crit/fumble... I'd appreciate any help with this. I'm new to the site, it's my first character sheet, so maybe this is straight forward and I'm just too inexperienced.... ^^
1476278729
Tetsuo
Forum Champion
What does your endurance risk roll macro look like?
1476279710

Edited 1476279772
I don't have one yet since I didn't know where to put it and what the output should look like exactly.... I'll try to summarize what I want to happen when i click the risk roll button for my endurance value in my sheet: - Roll 4d10 - if the sum of any 2 of the 4 is less or equal to 3, it's a fumble -> the roll template must be able to know this - else, the highest two dice are added and considered as the value - if the value is greater or equal 19, it's a crit - the base endurance is added - the roll template shows base, roll and final value, and if it's a fumble or a crit Maybe I should change the thread title - I want to know if it's possible to do this and if yes, how.
1476305538
Tetsuo
Forum Champion
That's a pretty interesting set of roll rules. I'm not sure how it could be done outside of writing a custom API script to handle it.
That may be too complex for a roll template. It should be doable using the PowerCards api script.
1476360818

Edited 1476361290
Do you have any references on how to work with the PowerCards API? I haven't heard about it, but I'd like to try. Also, is there a way to bring in API functionality with a character sheet? Since the aim is to create a new community sheet i couldn't really use the API if this isn't possible...
1476364736
Finderski
Pro
Sheet Author
Compendium Curator
API would only be accessible to games where the Creator is a Pro subscriber. That GM would then need to install the script. You could set it up with a configuration option so people who have the API can select to use the API-enabled buttons, and if the API is not available, they could show non-API buttons. If you want to go the non-API route, I'd recommend setting up a roll template that could display the individual die rolls, just like at a table. The players and/or GM would need to do the math manually, but you could set it up to help make that a little easier.
Okay, thanks for your help. My usual GM is no PRO, so I won't do the API stuff yet. Maybe later ^^