Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

CthulhuTech Sheet Issue

I was planning on trying to make a CthulhuTech game and created a room with the available sheet for it, however while I was experimenting with the sheet I discovered that none of the Combat Skills , General Skills , or Attributes had functioning macro buttons. The only one that responded was Agility  which simply displayed  SyntaxError: Expected "(", ".", "[", "abs(", "ceil(", "d", "floor(", "round(", "t", "{", [ |\t], [+|\-] or [0-9] but "N" found.  Additionally, the Insanity button is non-functional. Lastly, while i'm not sure if this qualifies as a bug, Support Systems , Assets , and Drawbacks  all appear in the chat feed with the character's name in white and blue at a 90 degree position along the left. I don't know if it's a bug, but it does obscure the result. I realize the sheet is old and the game seems not very popular, but if anyone could take a look at this or just tell me i'm an idiot for not turning on something, I'd personally appreciate it.
1534091704
vÍnce
Pro
Sheet Author
Did you install the API dice needed to run the sheet? <a href="https://github.com/shdwjk/Roll20API/blob/master/CthulhuTechDice/CthulhuTechDice.js" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/CthulhuTechDice/CthulhuTechDice.js</a>
That is an awesome script and now that I have it 99% of my problems are gone, thanks! The Agility remains non-functional however, same error report.
1534111759
vÍnce
Pro
Sheet Author
Great.&nbsp; It looks like the Agility button's value (what's actually sent to chat when you make a roll) is a little different the others.&nbsp; example; Agility "!ct [[ [[ @{rating-Agi-Feat} ]]d10 ]] [[@{Agi}]] --|@{character_name} --Feat: Agility" vs Intellect "!ct [[ [[ floor([[@{Int}]] /2) ]]d10 ]] [[@{Int}]] --|@{character_name} --Feat: Intellect" Notice that Agility is calling the attribute&nbsp; @{rating-Agi-Feat} directly vs doing the calc. ie&nbsp; floor(@{Agi}/2) I'm thinking it's a typo/bug. Changing the Agility button's value to "!ct [[ [[ floor(@{Agi}/2) ]]d10 ]] [[@{Agi}]] --|@{character_name} --Feat: Agility" fixes the issue.&nbsp; I think The Aaron is the sheet's author.&nbsp; I'll send him a PM.&nbsp;&nbsp; Were there any other issues?
None that can't be solved player side, thanks for all your help Vince, I appreciate it!
1534177138
The Aaron
Pro
API Scripter
Actually, I'm only the scripts author, the sheet was made by&nbsp; Coal Powered Puppet .&nbsp; If this isn't fixable via the character sheet, I can see if I can fix it from the API side.
I looked into it and submitted a fix:&nbsp;<a href="https://github.com/Roll20/roll20-character-sheets/pull/4042" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/pull/4042</a>
1534209345
vÍnce
Pro
Sheet Author
My bad. Cheers CPP.