- Aug 27, 2019
- 4
- 0
I did not have enough coding knowledge to interpret your advise. But with some crawling I found a line of code that was useful on the DoL reddit:This will not work. The keys utilise spaces, so you need to surround the earnFeat parameter with escaped quotes.
Object.keys(SugarCube.setup.feats).forEach(x => SugarCube.State.variables.feats.allSaves[x]=Date.now())