I'm trying to remember how to correctly use conditional statements, because I'm trying to remember how to create a Finesse Macro (OGL 5e Sheet, not that it's very relevant), but, here is what I have so far: &{template:default} {{name=Finesse}} {{Strength=[[{ {@{strength_mod},@{strength_mod}}>@{dexterity_mod}}*(0.5)]]}} {{Dexterity=[[{ {@{dexterity_mod},@{dexterity_mod}}>@{strength_mod}}*(0.5)]]}} Translated: &{template:default} {{name=Finesse}} {{Strength=[[{ {-2,-2}>3}*(0.5)]]}} {{Dexterity=[[{ {3,3}>-2}*(0.5)]]}} You will notice that they are identical, save being transposed. I honestly have no idea where I was running with this macro, but, here's the base values: @{dexterity_mod} = 3 @{strength_mod} = -2 Normally, this should not create an Error, as shown here: &{template:default} {{name=Finesse}} {{Strength=[[{ {@{strength_mod},@{strength_mod}}>@{dexterity_mod}}*(0.5)]]}} {{Dexterity=[[{ {@{dexterity_mod},@{dexterity_mod}}>0}*(0.5)]]}} Translated: &{template:default} {{name=Finesse}} {{Strength=[[{ {-2,-2}>3}*(0.5)]]}} {{Dexterity=[[{ {3,3}>0}*(0.5)]]}} THAT works, and the ONLY thing I changed was the comparison to the Str Mod of -2 into a flat 0. Apparently you are unable to compare against anything that parses as the following: ( - which means that not only am I unable to compare against -2, but I am unable to compare against (-2) Could someone report this oversight to the Roll20 Dev Team so they can fix it Could someone help me figure out a Macro for Finesse? I figured it out: &{template:default} {{name=Finesse}} {{Finesse=[[{@{strength_mod},@{dexterity_mod}}kh1]]}} {{Strength=[[floor((@{strength} -10) /2)]]}} {{Dexterity=[[floor((@{dexterity} -10) /2)]]}} there's still that Bug tho. I've really gone to some extensive lengths to try getting it to work, including the @{prefix} Attribute trick
(assign an Attribute to "@{") amongst other similar tricks within that
vein of thought. The Macro is fine until you try to compare against a
negative number. Placing a number in front of it fails to work, as the
second number is then not used for comparison..