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 .
×

[3.5] Armorclass bug

Hello. I think i found a bug, i am not sure since i'm new, so it might be something that i causes. I am trying to make a macro, that show my armor class ( i'm pretty sure iv done it this way before, but with a positive out come) To test this out, and try to debug if it, was something that i caused, i tried to go into my macros and make a new one and write: @{target|armorclass} and instead of my ac in the chat window i get : (10+((1 (8) +1 (+4) +0 0 +0 0 +0 0 +0 0))+(1 (ceil(((ceil((2 -+1 (100-99 1))/10000000000) +1 - floor((2 -+1 (100-99 1)-1)/10000000000) 2 )-floor(abs(9/(0.1))))/10000000000) floor(abs(9/(0.1))) - floor(((ceil((2 -+1 (100-99 1))/10000000000) +1 - floor((2 -+1 (100-99 1)-1)/10000000000) 2 )-floor(abs(9/(0.1)))-1)/10000000000) (ceil((2 -+1 (100-99 1))/10000000000) +1 - floor((2 -+1 (100-99 1)-1)/10000000000) 2 )) +0 (0 (ceil(((ceil((0 -+1 (100-99 1))/10000000000) +1 - floor((0 -+1 (100-99 1)-1)/10000000000) 0 )-floor(abs(9/(0.1))))/10000000000) floor(abs(9/(0.1))) - floor(((ceil((0 -+1 (100-99 1))/10000000000) +1 - floor((0 -+1 (100-99 1)-1)/10000000000) 0 )-floor(abs(9/(0.1)))-1)/10000000000) (ceil((0 -+1 (100-99 1))/10000000000) +1 - floor((0 -+1 (100-99 1)-1)/10000000000) 0 )) + (1-0) 0) +0 (0 (ceil(((ceil((0 -+1 (100-99 1))/10000000000) +1 - floor((0 -+1 (100-99 1)-1)/10000000000) 0 )-floor(abs(9/(0.1))))/10000000000) floor(abs(9/(0.1))) - floor(((ceil((0 -+1 (100-99 1))/10000000000) +1 - floor((0 -+1 (100-99 1)-1)/10000000000) 0 )-floor(abs(9/(0.1)))-1)/10000000000) (ceil((0 -+1 (100-99 1))/10000000000) +1 - floor((0 -+1 (100-99 1)-1)/10000000000) 0 )) + (1-0) 0) +0 (0 (ceil(((ceil((0 -+1 (100-99 1))/10000000000) +1 - floor((0 -+1 (100-99 1)-1)/10000000000) 0 )-floor(abs(9/(0.1))))/10000000000) floor(abs(9/(0.1))) - floor(((ceil((0 -+1 (100-99 1))/10000000000) +1 - floor((0 -+1 (100-99 1)-1)/10000000000) 0 )-floor(abs(9/(0.1)))-1)/10000000000) (ceil((0 -+1 (100-99 1))/10000000000) +1 - floor((0 -+1 (100-99 1)-1)/10000000000) 0 )) + (1-0) 0))+0+(1 0 +0 +1 +0 0 +0 0)+(1 0 +0 0 +0 0 +0 0)+(1 0 +0 0 +0 0 +0 0)+(1 1 0 1 +1 1 +1 +0 1 0 +0 1 0 +0 1 0 +0 1*0)) I tried opening a new game, to make sure it wasn't something i screwed up, and i also tried it with different commands like Selected instead of target if this is not a bug, then i am sorry to have wasted your time // Patrick
1464199253
Pat S.
Forum Champion
Sheet Author
Fourwindsbadger, Can you let us know what sheet you are using? Is this a sheet macro or one that you built yourself? It appears not to be a roll20 site bug but an issue with the macro itself. I'm moving this to the specific use forum unless it is discovered to be an actual bug.
Try and output as an inline roll, that way all the bits are calculated. ie. [[@{target|armorclass}]]
1464199713

Edited 1464199759
This looks like one of the "workaround" calculations that were used before nested inline rolls. Might you be using D&D 5th Edition's Community Contributed sheet ( <a href="https://app.roll20.net/sheet-previews/dnd5e.png" rel="nofollow">https://app.roll20.net/sheet-previews/dnd5e.png</a> )? In any case, try nesting @{target|armorclass} within an inline roll, as Ed S. recommended.
Hello. i am using a D&D 3.5 sheet, About the macro: im not sure what to answere here, i made the macro my self, by looking for the armorclass (properly not what you where asking) Ed: that one worked but i have no idea why that one works. But yeah all in all it works :) thanks!