A google sheets implementation of the CortexPal2000 dice roller function for Cortex Prime RPG.
##Setup From a Google Sheet you wish to add the CortexPalGS die roller too, navigate to Extensions > App Script.
Add a file named CortexPalGS.js
Copy the contents of this repo's CortexPalGS.js to your AppScript CortexPalGS.js.
Add the contents of this repo's Code.js to your AppScript Code.js.
##Examples rollCortexPal("d6 d8 d10", true, 3)
=rollCortexPal(B1, true, 2)
Sample here: https://docs.google.com/spreadsheets/d/1tUC0YAawBO9YEt-rlla26eo0ymAXpNdutELtlj0euGQ/copy