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

Does this macro evaluate correctly?

I have been discussing this macro in another site: &{template:default}{{name=Soul check}}{{ [[ {1d20+6}>[[?{Spell level} + 12]] ]] Success }} The macro is for a DnD 5e variant, spells are powered by souls and if you blow a soul check you lose the soul you were using. The DC is 12+spell level, the relevant bonus in this case is +6. Apparently, someone tried this macro and found that it doesn't do the comparison properly. I tried changing it to {{ [[ {1d1+6}>[[?{Spell level} + 1]] ]] Success }} A nd that one worked. I'm on Firefox. Is there some browser-specific bug going on?
1640879556
Kraynic
Pro
Sheet Author
I use Firefox as my primary browser.  The first macro you posted there works just fine for me.  It shows 1 for a success and a 0 for a failure just like it should.
1640977759
Andreas J.
Forum Champion
Sheet Author
Translator
Is there some browser-specific bug going on? I've never heard of a situation where macros would have browser-specific behavior, and see it extremely unlikely to ever happen.