Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Script:Wild Dice"

From Roll20 Wiki

Jump to: navigation, search
(add SWD6 example)
m
 
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}}
  
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>
 
 
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.
  

Latest revision as of 21:25, 21 September 2021

Implements the Wild Dice rolling mechanic. Used in various d6 systems like Star Wars D6.



API ScriptAuthor: Aaron C. M.
Version: 0.3.4
Last Modified: 2020-03-30
Code: WildDice GitHubLogo.png
Dependencies: IsGM GitHubLogo.png
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.


Wild-Dice-result-v3-4.png

[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