Difference between revisions of "Script:Wild Dice"
From Roll20 Wiki
Andreas J. (Talk | contribs) (add SWD6 example) |
Andreas J. (Talk | contribs) m |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
+ | {{revdate}}Implements the [https://en.wikipedia.org/wiki/D6_System#The_Wild_Die Wild Dice] rolling mechanic. Used in various d6 systems like [[Star Wars D6]]. | ||
+ | <br> | ||
+ | <br> | ||
{{script overview | {{script overview | ||
|name=WildDice | |name=WildDice | ||
Line 6: | Line 9: | ||
|lastmodified=2020-03-30}} | |lastmodified=2020-03-30}} | ||
− | |||
− | |||
− | |||
It replaces one d6 in a given roll with an exploding die, and in the special case of the exploding die rolling a 1, it removes the 1 and the highest die roll from the roll total. | It replaces one d6 in a given roll with an exploding die, and in the special case of the exploding die rolling a 1, it removes the 1 and the highest die roll from the roll total. | ||
Line 16: | Line 16: | ||
* '''<code><nowiki>!wwd [[dice expression]]</nowiki></code>''' command to whisper rolls to [[GM]] | * '''<code><nowiki>!wwd [[dice expression]]</nowiki></code>''' command to whisper rolls to [[GM]] | ||
* '''<code><nowiki>!wd --help</nowiki></code>''' posts the help menu in the chat. | * '''<code><nowiki>!wd --help</nowiki></code>''' posts the help menu in the chat. | ||
− | <br> | + | <br><br> |
+ | {{apiboxRec}} | ||
[[File:Wild-Dice-result-v3-4.png]] | [[File:Wild-Dice-result-v3-4.png]] | ||
− | |||
=== Examples === | === Examples === | ||
You can reference character stats in your rolls. | You can reference character stats in your rolls. |
Latest revision as of 09:56, 18 February 2022
Page Updated: 2022-02-18 |
Version: 0.3.4
Last Modified: 2020-03-30
Code: WildDice
Dependencies: IsGM
Conflicts: None
It replaces one d6 in a given roll with an exploding die, and in the special case of the exploding die rolling a 1, it removes the 1 and the highest die roll from the roll total.
Commands:
-
!wd [[dice expression]]
example:!wd [[4d6+2]]
rolls 3 normal d6s, and one Wild Die -
!wwd [[dice expression]]
command to whisper rolls to GM -
!wd --help
posts the help menu in the chat.
Roll20 Mod
Mod Suggestions
- D&D 5E
- Combat
- Character Sheet
- Dynamic Lighting
- Jukebox
- Maps
- Text Chat/Macros
- Tokens
- System Specific
- Mod Guides by Script
Debug
Other
[edit] Examples
You can reference character stats in your rolls.
Example:
Using the Star Wars D6 character sheet, this API command makes a Dexterity roll for character "Bob".
!wd [[(@{Bob|dexterity} -@{Bob|WoundMod} +@{Bob|Force_Up} + ?{Dice mods|0})d6 + @{Bob|dexteritypip} + ?{Other Mods(pip)|0}]]
The dice expression is based on the sheet's original macro for making a dexterity roll:
&{template:swd6} {{name=Dexterity}} {{Roll=[[(@{Bob|dexterity} -@{Bob|WoundMod} +@{Bob|Force_Up} + ?{Dice mods|0} -1)d6cf0cs7 + @{Bob|dexteritypip} + ?{Other Mods(pip)|0} + 1d6@{Bob|wilddie}]]}}
[edit] Changelog
v0.3.5 (2020-06-08)
v0.3.4 (2020-03-30)
- bugfix
v0.3.2 (2017-03-30)
- Updated
v0.2 (2015-02-28)
- Added pips
v0.1 (2015-02-28)
- Release