Skip to content

Instantly share code, notes, and snippets.

View NoxMortem's full-sized avatar

Kevin Streicher NoxMortem

  • Vienna
View GitHub Profile
on("change:repeating_skillsactionmod remove:repeating_skillsactionmod",function() {
var modifiers = {};
TAS.repeating("skillsactionmod")
.fields('skillsname','modifier','active') //< specifying the fields we care about
.reduce(function(m,r){
if(!(r.skillsaction_name in m.modifiers)){
m.modifiers[r.skillsaction_name] = 0;
}else{
if(r.active === "on"){
m.modifiers[r.skillsaction_name] += r.modifier;
@NoxMortem
NoxMortem / Shadowrun.js
Last active July 24, 2016 11:25
Shadowrun Roll20 Sheet by Wandler
// Github:
// By: Wandler, The Apprentice
// Contact:
var Shadowrun = Shadowrun || (function() {
'use strict';
var version = '0.0.1',
lastUpdate = 1427604268,
tableCache = {},