The documentation for getDiceTotal never got added.
https://fantasygroundsunity.atlassia...998353/Utility

It appears to add up the dice in aDice without needing to be given the entire rRoll (and thus it doesn't add nMod).