
I have a gut feeling I am doing something wrong, but I am after some assistance with a macro I am building. I will give some background, then the code, and then an image with the results I am after. I am trying to create a stat generator. Our games have a space cow rule, which basically means that if the character did not roll a total modifier of +3 or better, it will have the survivability of a cow exposed to the vacuum of space. Anyway, what I am trying to do was have it roll the stats, and then calculate the modifier, and add them up. I know we have no IF options, and this won't work with a pseudo setup, so I have to come up with something, and this is what is happening: First roll is: [[ ?{Roll1|[[4d6ro1k3]]} ]] (?{Roll1}) So as you can see the result, the first number has rolled a 13, but then when I call the result,m it seems to re-roll the dice, and I get two numbers. [[ ?{Roll1|0} ]] ([[ [[ floor (?{Roll1} -10 ]] / 2 ]])) Second one is just a proof, where it asks the value, and then does the math. THIS one works fine, unless I change the first number to a dice roll, and then I get the same issue of two different base numbers. [[ ?{Bonus1} ]] (?{Bonus1}) If I type in a number it works fine, however if I input a roll, same thing happens. What / How can I fix this? So to re-cap: I want it to roll the dice, then use those to calculate the mod, and the overall total of ALL modifiers. TIA4TH