Skip to content

Instantly share code, notes, and snippets.

@thehig
Last active May 13, 2017 15:21
Show Gist options
  • Save thehig/67fa144715aa70905d1a7db541322c83 to your computer and use it in GitHub Desktop.
Save thehig/67fa144715aa70905d1a7db541322c83 to your computer and use it in GitHub Desktop.
md: SidekickDiscord

Sidekick

Modifiers

  • = - Rolls with an exact value
  • >= - Greater than or equal to (Dice check, armor check etc)
  • !{$} - Exploding dice on {$} (defaults to max value of dice)
  • !>{$} - Exploding dice when value is >= {$}
  • k{$} - Keep highest {$} of rolls
  • kl{$} - Keep lowest {$} of rolls
  • d{$} - Drop {$} rolls
  • repeat (D, n) - Repeat roll(s) D, n times

Examples

/r Description
1d8 + 4d6 Roll dice
1d20+5 # Grog attacks Add a comment.
2d6>=5 Number of successes (d6 >= 5)
4d6=5 Number of exact successes (d6 == 5)
3d6! Reroll on max value (6) and add
1d20!1k1 Reroll (Explode) on specific value (1) and keep the better
1d10!>9 Explode on nine and ten

Macro Examples

  • Save /r $persuasion = 2d20k1+3
  • Use /r $persuasion
/r Rolls Description
$advantage, $adv 2d20k1 Advantage. Roll 2d20, keep the higher of the two
$disadvantage, $dad 2d20kl1 Disatvantage. Roll 2d20, keep the lower of the two
$stat 4d6k3 Stat Block. Roll 4d6, keep 3
$char repeat (4d6k3, 6) 6 Stat Blocks. Roll $stat 6 times

Specific Examples

Note: Performing the additive math (adding to hit) when performing multiple checks (>, >=) obscures the 20 or the 1 (criticals) from the output unless you mentally perform the subtraction when reading the output. Avoid this by subtracting the (add to hit) value from the target before the roll.

  • Monk Flurry of Blows (+6 to hit vs AC 15)

    • /r 1d20>=9 - Initial attack (Success/Fail)
    • /r 3d20>=9 - Triple attack (# Successes)
  • Magic Missile (+3 to hit vs AC15)

    • /r 3d20>=12 - Fire 3 magic missiles with +3 to hit against AC15. Prints successes
    • /r repeat(1d4+1, 3) - Separate damage per success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment