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

Division in Macro

Hi, i'm using the following for an ability: [[@{Agility}d6 + @{Dodge}d6 + ?{Modifier|0}]] I'd like to divide the result by 2 but when I use: [[ (@{Agility}d6 + @{Dodge}d6 + ?{Modifier|0}) / 2]] nothing happens What am I doing wrong? Thx
1770838053

Edited 1770838086
Gauss
Forum Champion
Hi again Andreas,  The HTML entities are preventing it from resolving. Instead of using ( ) use [[ ]].  This is why I suggested the other solution, pulling the query out of the other query. HTML entities change a lot of how things process. 
Hi Gauss, Sorry about the delayed response, I've been very busy at work lately. Thank you yet again for your help. I went with the html because there are occasions where I need to access the individual abilities without using the main macro and you had said this would not be possible when using the pulled out query method :)