So, I'm using The Aaron's Simple Sum script. It does what I need it to do, but I've hit a bit of a hiccup. I have attr_ that-are-hyphenated and I can not for the life of me figure out how to set it up to ignore those and not use them as minus signs. This is the bit I'm trying to get working. on('change:repeating_spells', function(){
TAS.repeating('spells')
.attrs('spell-level1-remaining','spell-level1-total')
.fields('cast-value')
.reduce(function(m,r){
m['cast-value'] = (r.F['spell-level1-total'] - r.I['cast-value']);
r['spell-level1-integer'] = (r.F['spell-level1-total'] - r.I['cast-value']);
return m;
},{'cast-value': 0, desc []},function(m,r,a){
a.S['spell-level1-remaining'] = m['cast-value'];
})
.execute();
}); I looked through the pathfinder-neceros to get the [''] idea, but it's still not working. Any ideas?