I have seen macros which look like this: ?{Sneak Attack|No, 1d6|Yes, 1d6+ [[ ceil((@{base_level}) / 2) ]]d6 [Sneak Attack]} or this: ?{Hexblade Curse|No, 1d6|Yes, 1d6+ @{pb} [Hexblade Curse]} So I understand the basic layout of the code, but I currently have a character (in a Basic Fantasy game) who has TWO choices to make on every damage roll (namely whether the opponent is unarmored, and whether the character hit by 5 or more). They affect the number of damage dice rolled (the basic attack does 1d4, with an extra d4 being added if the opponent is unarmored, and another d4 added if his attack roll hits by 5+). How do I write that?