This file contains hidden or 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
// GIST: https://gist.github.com/shdwjk/437a80205ab5b7947466 | |
var EoERangeBands = EoERangeBands || (function() { | |
'use strict'; | |
var version = 0.2, | |
shortRange = 10, | |
mediumRange = 50, | |
shortBand = { |
This file contains hidden or 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
Use this version instead: | |
https://github.com/shdwjk/Roll20API/blob/master/TableExport/TableExport.js |
This file contains hidden or 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
// GIST: https://gist.github.com/shdwjk/d11b7f41b204a8444f2f | |
var UsePower = UsePower || (function() { | |
'use strict'; | |
var version = 0.31, | |
schemaVersion = 0.1, | |
ch = function (c) { | |
var entities = { |
This file contains hidden or 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
// GIST: https://gist.github.com/shdwjk/91a2d2b076f687eb8406 | |
var GroupInitiative = GroupInitiative || (function() { | |
'use strict'; | |
var version = 0.41, | |
schemaVersion = 0.5, | |
bonusCache = {}, | |
statAdjustments = { | |
'Stat-DnD': { |
This file contains hidden or 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
// GIST: https://gist.github.com/shdwjk/5119cf1c5ffdf3088308 | |
var Mark = Mark || (function() { | |
'use strict'; | |
var version = 0.22, | |
schemaVersion = 0.2, | |
markerURL = 'https://s3.amazonaws.com/files.d20.io/images/4994795/7MdfzjgXCkaESbRbxATFSw/thumb.png?1406949835', | |
This file contains hidden or 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
// GIST: https://gist.github.com/shdwjk/a65bae32d700a00a9c47 | |
var CharUtils = CharUtils || (function() { | |
'use strict'; | |
var version = 0.51, | |
fixNewObj= function(obj) { | |
var p = obj.changed._fbpath, | |
new_p = p.replace(/([^\/]*\/){4}/, "/"); |
This file contains hidden or 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
// GIST: https://gist.github.com/shdwjk/4064a6b2e12bcfc46f49 | |
// Aaron's updated version. | |
// Fixed: character update to only do one findObjs() call, instead of | |
// (((15*5)+1)*NUM Characters) times (that's 2280 times for 30 characters). | |
// | |
// Edge of the Empire RPG Dice Mechanics | |
// | |
// copyright pug games 2014 | |
// please feel free to use this script, change it, add to it in any way you feel | |
// Script created by Roll20 user Konrad J. |
This file contains hidden or 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
// GIST: https://gist.github.com/shdwjk/79a60b8d2ee58e87604d | |
var Ammo = Ammo || (function() { | |
'use strict'; | |
var version = 0.11, | |
adjustAmmo = function (playerid,attr,amount) { | |
var val = parseInt(attr.get('current'),10)||0, | |
max = parseInt(attr.get('max'),10)||10000, |
This file contains hidden or 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
// GIST: | |
var TokenLock = TokenLock || (function() { | |
'use strict'; | |
var version = 0.11, | |
schemaVersion = 0.1, | |
performLock = function() { | |
if( ! state.TokenLock.locked ) { |
This file contains hidden or 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
// GIST: https://gist.github.com/shdwjk/342cb67457936702fd8a | |
var Torch = Torch || (function() { | |
'use strict'; | |
var version = 0.7, | |
schemaVersion = 0.1, | |
flickerURL = 'https://s3.amazonaws.com/files.d20.io/images/4277467/iQYjFOsYC5JsuOPUCI9RGA/thumb.png?1401938659', | |
flickerPeriod = 400, | |
flickerDeltaLocation = 2, |