Roll

Roll

A class that represents a dice roll from D&D setting

Constructor

new Roll(dice, count, modifier)

Source:
Since:
  • v2.0.0
See:

A class that represents a dice roll from D&D setting

Parameters:
Name Type Default Description
dice Number 20

A number of dice faces

count Number 1

A number of dices

modifier Number 0

A modifier, that should be added/sustracted from result