Hi People! After many hours trying to make my macro work i come here to ask for help. My goal is to create a macro to make 4 different attacks (with different weapons and dices) against an token AC and Sum all damages that hit(including crits) I have this two macro bellow, I tried many ways to mix both macros but looks like the macro engine accepts only one calculation with $[[any-value]], and i need that to make the crits calculations for instance my damage is (1d12+1d6+8) so to scale the crits i should parametize the 1d12 to be like Xd12, where X is 1[normal hit] ou 2[crit] my take is this( This works!): ((floor($[[0]]/20)+1)d12+1d6+8) // $[[0]] is the roll it self( you can see the full macro bellow) so if is 19 or bellow is around to 1 but when is 20 is 2 this works the problem is that the 1d6 part SHOULD scale as well, but if i try this: ( (floor($[[0]]/20)+1) d12+ (floor($[[0]]/20)+1) d6+8) - This does not work[it renders with the value but without calculation], looks like a limitation of the engine, i could not manage to have more then one ' (floor($[[0]]/20)+1)' Can any one help me?
My Macros: Macro 1: Roll Against AC
Big Axe 1: Roll $[[0.computed]] | Damage: $[[1.computed]] %NEWLINE% Small Axe 2: Roll $[[2.computed]] | Damage: $[[3.computed]] %NEWLINE% total: [[ [[ {{ [[1d20]],0 }>@{target|ac} }*(1d12+1d6+8+) ]] + [[ {{ [[1d20+9]],0 }>@{target|ac} }*(1d12+1d6+8) ]] ]]
Macro 2: Roll with Crit
&{template:default} {{name=Crit}} {{2= Damage : [[ [[1d6+5]]+[[floor(( $[[1]]/50)d6)]] ]]}} {{1=Check : [[ [[1d20+5]] ]]}}