Class: Arkaan::Campaigns::Messages::Diceroll
- Defined in:
- lib/arkaan/campaigns/messages/diceroll.rb
Instance Attribute Summary collapse
-
#modifier ⇒ Integer
The value added to the sum of all dices to get the final result.
-
#number_of_dices ⇒ Integer
The number of dices you want to roll.
-
#number_of_faces ⇒ Integer
The number of faces each dice is supposed to have.
Attributes inherited from Base
Instance Attribute Details
#modifier ⇒ Integer
Returns the value added to the sum of all dices to get the final result.
17 |
# File 'lib/arkaan/campaigns/messages/diceroll.rb', line 17 field :modifier, type: Integer, default: 0 |
#number_of_dices ⇒ Integer
Returns the number of dices you want to roll.
11 |
# File 'lib/arkaan/campaigns/messages/diceroll.rb', line 11 field :number_of_dices, type: Integer, default: 1 |
#number_of_faces ⇒ Integer
Returns the number of faces each dice is supposed to have.
14 |
# File 'lib/arkaan/campaigns/messages/diceroll.rb', line 14 field :number_of_faces, type: Integer, default: 20 |