Description Usage Arguments Value Examples
This function identifies how many triggers are proc-d by a roll. A trigger is a specific value (or values) which are associated with special events. For example, an overcharged plasma has a trigger on an attack roll of 1. An overcharged plasma with a -1 to hit would trigger on attack rolls of 1 AND 2.
1 | trigger_dice(x, trigger)
|
x |
numeric vector length >= 1 of dice rolls. |
trigger |
numeric vector of length >= 1. What EXACT values are special? |
numeric scalar number of triggers proc-d.
1 2 3 | # trigger on a 1 (e.g. overcharged plasma)
rr <- roll_dice(1)
trigger_dice(x = rr, trigger = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.