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 OGL ac macro

I'm trying to get a nice little macro for AC a token action: @{selected|wtype}&{template:simple} {{rname=@{selected|token_name}}} {{mod=}} {{r1=AC}} @{selected|rtype}+[[@{selected|AC}]][AC]]]}} But it always seems to do a roll instead of just showing the AC It works fine for things where a roll is needed, eg initiative, but a bit buggered just for AC
1469920088
Silvyre
Forum Champion
Try this: @{selected|wtype}&{template:simple} {{rname=@{selected|token_name}}} {{mod=}} {{r1=AC}} {{r2=[[ @{selected|AC} ]]}}
Silvyre said: Try this: @{selected|wtype}&{template:simple} {{rname=@{selected|token_name}}} {{mod=}} {{r1=AC}} {{r2=[[ @{selected|AC} ]]}} Alas it did not work :/
1469976223
Kirsty
Pro
Sheet Author
Try this @{selected|wtype}&{template:simple} {{rname=AC}} {{r1=@{selected|ac} }}{{normal=1}}
Kirsty said: Try this @{selected|wtype}&{template:simple} {{rname=AC}} {{r1=@{selected|ac} }}{{normal=1}} Works a treat thanks! Not quite the format I wanted, but beginning to suspect it'll have to do. Does the normal=1 force it not to roll or something?
1469976843
Kirsty
Pro
Sheet Author
Glad it works! The normal=1 is a flag to tell it to roll once, in this case it's for formatting so that it looks nice in the chat window. In your macro, the +[[@{selected|AC}]] was being treated as a modifier, which was why the d20 was being rolled.