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

Some macros for a few characters do not respond, even though they are exactly the same for all characters

I have 16 characters set up in my campaign. 6 of them have problems with some macros... not all. For example, their stealth and climb checks have no response. I push the die to do the check and nothing happens. I will copy over the exact same macro from another character where the stealth check works, and it still will not respond in those 6 characters. I tried deleting the stealth check and then reprogramming it, but it still does not respond. Here is the code for the stealth check. It is the same for characters where it works and where it doesn't. /em @{selected|token_name} uses skills of stealth rolling [[1d20+@{dexterity} +@{stealth}-@{armor penalty} ]] I hope you can solve this, because I have a game scheduled for tonight.
couple questions. 1. Is there no response or errors at all? 2. Are the attributes you have listed pure numbers, or do they contain references/equations? 3. Have you tried closing your browser and going back into the character to ensure everything is indeed as you would expect?
I figured it out... All the skill macros that were not working subtracted armor penalty. and the armor penalty modifier was negative, for example, -1. So the macro was doing this... [[1d20 + 2 + 1 - -1]] I changed the armor penalty to a positive number, and now the skill checks work. Apparently the macros cannot function if they try to subtract negative modifiers from the attributes column. Is this the answer?
1396645065
Pat S.
Forum Champion
Sheet Author
You could leave the mod as a negative and just change the math [[1d20+2+1+-1]] I think .
1396668249

Edited 1396668386
Gauss
Forum Champion
Double positives and double negatives are a known bug. If you want to place a positive or negative sign before a number in an attribute I suggest putting parenthesis around it and the number. Example: in an attribute +5 should be (+5) and -6 should be (-6). Note: in math (and Roll20) -(-6) becomes +6 because that is actually (-1)*(-6)