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

[5e] Attack Roll Syntax Error

When I attempt to make an attack roll from a character sheet I receive a "SyntaxError: Expected "(", ".", "[", "abs(", "ceil(", "d", "floor(", "round(", "t", "{", [ |\t], [+|\-] or [0-9] but end of input found." message. From the searching I did i found that entering a value into the "Crit Dmg" field of the weapons tab is supposed to fix this, but that doesn't appear to be the case for me. Help would be hugely appreciated. In this case the character is a half-orc, so their crit dmg values are higher than normal for melee, but i adjusted the values to standard crit values and the error didn't change. I am not having this problem with the other characters.
October 20 (9 years ago)
Kryx
Pro
Sheet Author
API Scripter
Crit damage is typically the culprit. Not sure what else would be the issue.
October 20 (9 years ago)
Ziechael
Forum Champion
Sheet Author
API Scripter
End of input errors are usually the result of a rogue ), } or ]] which is ending a query or something early. Try removing the brackets from around the 1H and 2H for the battle axe... does the javelin one work as is?

Ziechael said:

End of input errors are usually the result of a rogue ), } or ]] which is ending a query or something early. Try removing the brackets from around the 1H and 2H for the battle axe... does the javelin one work as is?

Removing the brackets didn't seem to solve anything, and no, the javelin does not work. Here is an example of another character using a weapon with brackets in it's name. 
October 20 (9 years ago)
Not the brackets, maybe the slash in the Javelin name. 

H
October 20 (9 years ago)

Ricky W. said:


There's a blank field before attack. I have no idea what it could be, though.
October 20 (9 years ago)
Ziechael
Forum Champion
Sheet Author
API Scripter
Puzzling indeed, I don't suppose you've accidentally deleted an attribute on the attributes tab at all or possible have a duplicate of one with conflicting information in it?
October 20 (9 years ago)
Seeing how this is a first level character, it might be better just to remake it.

HLazar said:

Not the brackets, maybe the slash in the Javelin name. 

H

The slash doesn't seem to be the issue, here is another character with a ranged weapon attack.
Removing it didn't resolve anything.

Ed S. said:

Seeing how this is a first level character, it might be better just to remake it.

Yes, doing that now, but I thought it would be good to resolve this because it's an inconvenience to players.

Ziechael said:

Puzzling indeed, I don't suppose you've accidentally deleted an attribute on the attributes tab at all or possible have a duplicate of one with conflicting information in it?

I don't believe I even opened the attributes tab for this character before now.