
I am totally new to Sheetworker...could someone please tell me what is wrong with this script? <!-- CALCULATE STR WHEN STRXP IS MODIFIED - FORMULA : STRbase + STRXP = STR /--> <script type="text/worker"> on("change:strxp", function() {getAttrs(["STRbase", "STRXP"], function(values) {var statTotal = parseInt(values["STRbase"])||0; statTotal += parseInt(values["STRXP"])||0; var strbase = Math.round(statTotal)||0; setAttrs({"STR": str}); }); }); </script> for example...STRbase 10 + STRXP 2 should create attr STR 12... problem result...STR is not being created...i.e. it is not appearing in the "Attributes and Abilities" page, also no STR valuue is appearing on the character sheet. Thanks in advance...Ray