This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*jshint esversion: 9 */ | |
// OPen and Blind Checks for the 5th Edition OGL by Roll20 | |
// Create a token action macro called "OpenChecks" with the action "!OpenChecks" | |
// Create a token action macro called "BlindChecks" with the action "!BlindChecks" | |
// Give all your players access to both. | |
const OpenBlindChecks = (() => { | |
const buildTable = (values) => { | |
let getMod = (g) => { | |
return g ? g.mod : -5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*jshint esversion: 9 */ | |
// OPen and Blind Checks for the 5th Edition OGL by Roll20 | |
// Create a token action macro called "OpenChecks" with the action "!OpenChecks" | |
// Create a token action macro called "BlindChecks" with the action "!BlindChecks" | |
// Give all your players access to both. | |
const OpenBlindChecks = (() => { | |
const buildTable = (values) => { | |
let getMod = (g) => { | |
return g ? g.mod : -5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var SpeechBalloon = SpeechBalloon || (function(){ | |
'use strict'; | |
var version = 0.1, | |
schemaVersion = 0.4, | |
defaultShowLength = 4, // seconds | |
msPerSec = 1000, // for conversions.. no magic numbers! | |
checkStepRate = 1000, //ms = 1 second | |
checkInterval = false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var markdown = markdown || (() => { | |
const version = '1.0.9'; | |
const lastUpdate = 1578236090; | |
const checkInstall = () => { | |
log('-=> markdown v'+version+' <=- ['+(new Date(lastUpdate*1000))+']'); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var markdownDocumentation = markdownDocumentation || (() => { | |
const version = '1.0.3'; | |
const lastUpdate = 1578236090; | |
var documentationCSS = '[css]<br>' | |
+ 'bg {<br>' | |
+ "padding: 10px; background: AliceBlue; background-image: url('https://i.imgur.com/i9vmkzO.png');<br>" | |
+ '}<br>' | |
+ '<br>' | |
+ 'h1 {<br>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var markdownNotesBio = markdownNotesBio || (() => { | |
const version = '1.0.1'; | |
const lastUpdate = 1578078196; | |
const schemaVersion = 1.0; | |
const CONFIG = { | |
apiStart: '<!-- API_markdown -->', | |
apiEnd: '<!-- API_markdown_end -->' | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//FumbleTables | |
roll20API.processAPI_FGM = function() { | |
var fumble = new Array(); | |
fumble[0] = "Fumbler’s movements put them off balance. They take a -1 penalty to \ | |
their armor class for the next round."; | |
fumble[1] = "Fumbler’s movements put them severely off balance. They lose Dexterity \ | |
and Shield bonuses to AC for the next round. If losing these bonuses does not \ | |
reduce the fumbler’s AC by -2 (or more), then they still must take a -2 penalty."; | |
fumble[2] = "Fumbler trips, and falls prone. They lose Dexterity and Shield bonuses \ | |
to AC for the current round and the next round. If losing these bonuses does not \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mapName = "GeomorphicMap"; | |
var lineColor = "#00ff00"; | |
var lineSize = 5; | |
var geomorphicMapId; | |
var geomorphicMapWidth; | |
var geomorphicMapHeight; | |
var geomorphicTilesArray = new Array(); | |
var mapTilesArray = []; | |
var isError = false; | |
var errorType = "None."; |
NewerOlder