PDA

View Full Version : Rolling Dice Questions



rmilmine
February 15th, 2026, 22:12
So, I was looking at XCore and I came across a link within it's documentation.

https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996640101/Rolling+Dice#Supported-Dice-Expressions

At first I thought it was part of xCore then I noticed the URL and realized it was part of FGU.

So... Is there any way to change the Successes/Failures feature of the rolling?

As far as I've been able to tell it takes the total success count and subtracts the failures. I've not seen a way to change this behavior.

Games like Shadowrun have a different take on Failures. Ones and sometimes twos are used for failures, but they don't subtract from the total successes.
Having a way to count failures and succesdo this, and display 2 results, successes and failures would be great.

If this can already be done, please point me towards that direction.

If it's not in FGU, then who do I need to talk to to get it added as an option?

Thanks,
Robert.

Moon Wizard
February 16th, 2026, 00:35
I'm not familiar with what you are trying to do. The built in dice expressions are fixed to the application; and do not have a mechanism to spit out separate values on multiple lines.

This would probably need to build as a custom roll with scripts to support it via an extension or as part of a ruleset to do what you want exactly.

Regards,
JPG

rmilmine
February 16th, 2026, 06:20
I figured that would be the case.

Shadowrun has a concept of glitches and critical glitches which are cause by doing a roll and having more than 50% of the dice rolled ending up as 1s. So having them hilighted or counted seperate from successes would be useful.

So if you roll say 10 or 11 dice and 6 of the dice come up as a 1 it is a glitch of some kind.

Thanks,
Robert

rmilmine
February 16th, 2026, 17:04
If I was to write an extension.
Is there a way to use the built in roll and just replace the display portion of it?

Thanks,
Robert.

Moon Wizard
February 16th, 2026, 18:23
It would probably be easier to just overwrite the whole thing; and do the calculations you need to do by comparing all the dice to the success/failure and doing all the extra calculations.
You'd have to try writing the dice handler for that roll type; and see what it is passing, and how you would want to change.

Regards,
JPG

rmilmine
February 18th, 2026, 18:41
Thanks. That's probably what I will try and do. I'm now wondering how I can simulate the dice for successes and exploding. I like that the die has green text and red text, and a green aura on the extra dice from exploding dice.