Module: Storyteller

Defined in:
lib/dicebag/systems/storyteller.rb

Overview

This is actually modeling the “Storytelling” system dice, not the older “Storyteller” system dice, but I personally find “Storytelling” kind of a silly name, so I prefer the older name. :D

Defined Under Namespace

Classes: Pool

Class Method Summary collapse

Class Method Details

.chanceObject



42
43
44
# File 'lib/dicebag/systems/storyteller.rb', line 42

def self.chance
  Pool.new(1, 10).roll
end

.roll(number = 1, success = 8) ⇒ Object



38
39
40
# File 'lib/dicebag/systems/storyteller.rb', line 38

def self.roll(number = 1, success = 8)
  Pool.new(number, success).roll
end