sPOiDar / fvtt-module-hide-gm-rolls

A FoundryVTT module to hide GM rolls
MIT License
5 stars 11 forks source link

Add an option to display only the dice rolls (no formula/total) #3

Open sPOiDar opened 4 years ago

sPOiDar commented 4 years ago

Some GMs prefer to show only rolls to their players, change the sanitize rolls option to a select, allowing the GM to choose which values are shown to players.

Reported by Ghostwheel on Discord.

GhostwheelX commented 4 years ago

If you choose this option, hopefully it could whisper the total of the roll to the GM so they can adjudicate without having to open the character sheet and check the modifier.

sPOiDar commented 4 years ago

GMs always see the regular full roll message.

sPOiDar commented 4 years ago

So the default roll output is okay when displayed alone for rolls with a single dice type, but maybe not ideal for multiple dice types without adding a total (see the last roll below), though these rolls are not that common, and having them separate might not be the worst thing. Adding a modified total with just the dice values would require hooking different parts of the framework, which may have system-dependent concerns for implementation, or error-prone parsing of HTML output. If you think the below is fine, I'll go with it as is, otherwise I'll need to dig deeper.

Screenshot_20200826_183740

For reference, the GM sees this:

Screenshot_20200826_190346

GhostwheelX commented 4 years ago

Looks good to me 👍 Though if possible, I'd like it to only apply to d20 rolls, having it also apply to damage makes it difficult for players to apply damage. Would it be possible to do so?

sPOiDar commented 4 years ago

That gets into roll types, which are system-specific. It would be possible, but rather more complicated, and could only be supported for e.g. DND5E, but wouldn't work on other game systems.

GhostwheelX commented 4 years ago

Ah, unfortunately without that I don't think the version that shows the roll but hides the result would be usable, since I'd like players to be able to see the damage done by enemies since they need to apply it to their character sheet, but not the actual attack, save, or ability modifiers... Oh well, I'll still be happy enough with the other version.