Dear roll20 community, I'm very new to the roll20 and try to make my sessions a bit simpler on math, so I am to write a macro. My game system says, that to roll damage i need to: 1. Roll Nd6 dices. 2. For each dice with 1-3 get .5 points of damage 3. For each dice with 4-5 get 1 points of damage 4. For each dice with 6 get 2 points of damage 5. Round down to an integer (5.5 gives 5) In pseudocode, close to roll20 syntax: ``` X = 3d6 result = floor([[X<3]] * .5 + [[4<X<5]] * 1 + [[X=6]] * 2) ``` The main problem: I can't figure out how to map same roll (X) to 3 sequential computations with /roll or even with nested-rolls. Could this be achieved with roll20 default Dice Rolling expressions at all? Thanks in advance!