Copied from the campaign forum of the test game: Hey, I am using your sheet for an upcoming one-shot and I'm having a
couple of bugs. I'm setting up attacks on the main character page. The
Ranged Attacks work great, no issues there. However, when I set up melee
attacks, I'm getting two errors when using the strike button. The first
is " SyntaxError: Expected [0-9] but "B" (or the first letter of the character name) found ."
This makes a call to the character name, but only works if I change the
character name to a single digit number. The second is " No attribute was found for @{|hth_critical} ". This might just be me not knowing how to fix this second problem. The hth_critical issue is a mistake on my part. The strike roll is pulling a value from your hand to hand combat skill to use as the critical strike threshold so that attack rolls will automatically outline in green on a crit. When the sheet started, I was using @{hth_critical}, but that changed as the sheet developed. Instead of creating an entirely new character in the public game, I just transmogged the one out of my sheet creation sandbox. Unfortunately, that character predated the attribute change, so it threw no errors because hth_critical existed in the sheet data. I'll submit a fix for that, but it won't go live until next week. I'll post code to a separate github folder so that those that have a pro account can get the fix to the strike roll earlier. For me, that clears up both those errors on the strike button. There is another problem, but it is more minor. The sheetworker that is triggered by the hand to hand combat skill toggle in the combat maneuvers section was only set to run when you changed that toggle. Since I had set default values in the html, I didn't think I would have to have it run on sheet open. For some reason, the defaults don't seem to be reliable, so you may get an error that your dodge attribute doesn't exist, for example. @{dodge} is supposed to have a default value of @{hth1_dodge}(hand to hand skill 1 dodge bonus) and switch to @{hth2_dodge}(hand to hand skill 2 dodge bonus) if you have changed the toggle to HtH 2. Since it doesn't seem to be respecting the default value set in the html, the work around is to switch that toggle to the HtH 2 and back to HtH 1, everything is fine. I will set that sheetworker to also run when the sheet opens to be sure those combat attributes are set as they should be. That particular issue seems to go away for me in a quick test. That change will be reflected in the code I post to github and the update for next week.