Am I doing this right? I've copied this entry example directly from the wiki and placed it in the <script> section of my custom sheet. I've saved the sheet, and reloaded my instance of the game. on("change:strength", function() {
getAttrs(["Strength", "Level"], function(values) {
setAttrs({
StrengthMod: Math.floor(values.Strength / 2)
});
});
}); I make an attribute called "Strength", and "StrengthMod" and I edit it on the sheet, and...... nothing happens. I open up my log and I see that change:strength happened... but nothing in the script activated. I've added log() commands to the entry, and nothing shows up -- however, when I open up the log on another game of mine (using the Pathfinder sheet), all sorts of stuff screams into the log. None of the other examples ont he wiki seem to work for me, either. I feel like I'm going crazy.