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
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; |
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
// Github: | |
// By: Wandler, The Apprentice | |
// Contact: | |
var Shadowrun = Shadowrun || (function() { | |
'use strict'; | |
var version = '0.0.1', | |
lastUpdate = 1427604268, | |
tableCache = {}, |
OlderNewer