I have a macro that computes the number of dice lost due to damage (Shadowrun 5th ed, if you're curious). I call this macro WoundMod. (floor(ceil(@{selected|Physical Damage}/99) * (@{selected|Physical Damage} -1)/3) + floor(@{selected|Stun Damage} /3))) For most characters, it would be: (floor(@{selected|Physical Damage}/3) + floor(@{selected|Stun Damage} /3)) But my character has a positive quality which gives him one "free" point of damage before the wound would take advantage. If I use a roll like: /roll 1d6 + #WoundMod I can see that #WoundMod is calculated properly. Yay! Without wounds, a roll would be: /roll (3 + @{selected|Agility})d6>5 This works. Yay! If I make an ability that then calculates the roll: /roll (3 + @{selected|Agility} - #WoundMod)d6>5 This is expected to work, but yields: There was an error with your formula. Please try again. I have tried a lot of permutations. Changing order, doing all sorts of things. I even tried: /roll ([[1d1]] + #WoundMod)d6>5 Since I had previously proven that /roll1d1+#WoundMod works. I'm running out of ideas.