Skip to content

Instantly share code, notes, and snippets.

View BenjaminPrice's full-sized avatar
👨‍💻
Coding

Benjamin Price BenjaminPrice

👨‍💻
Coding
View GitHub Profile
@BenjaminPrice
BenjaminPrice / ToggleRollMode.js
Created April 27, 2020 11:35
FoundryVTT - Macro - Toggle Roll Mode
/*
Created by: Benjamin Price
Patreon: https://www.patreon.com/direckthit
Github: https://github.com/BenjaminPrice
Modified: 2020-04-27
Description: Foundry VTT Module to toggle between Public Roll and GM Roll modes
Source Gist: https://gist.github.com/BenjaminPrice/85b693408f7fe2616745cef13f443861
*/
let currentRollMode = game.settings.get("core","rollMode");
let toggleOption = (optGroup, value) => {

Keybase proof

I hereby claim:

  • I am benjaminprice on github.
  • I am benjaminjprice (https://keybase.io/benjaminjprice) on keybase.
  • I have a public key ASCbaocQezgEWtC0ChqGbBavk4Q9z8QNZy21Om_0PYqbHAo

To claim this, I am signing this object: