Class: BCDice::GameSystem::DeadlineHeroes::RealNameChart

Inherits:
DiceTable::RangeTable show all
Defined in:
lib/bcdice/game_system/DeadlineHeroes.rb

Constant Summary

Constants inherited from DiceTable::RangeTable

DiceTable::RangeTable::DEFAULT_FORMATTER, DiceTable::RangeTable::DICE_ROLL_METHOD_RE

Instance Attribute Summary

Attributes inherited from DiceTable::RangeTable

#name, #num_of_dice, #num_of_sides

Instance Method Summary collapse

Methods inherited from DiceTable::RangeTable

conv_string_range, #fetch, from_i18n, #roll

Constructor Details

#initialize(name, columns, chart) ⇒ RealNameChart

Returns a new instance of RealNameChart.



216
217
218
219
# File 'lib/bcdice/game_system/DeadlineHeroes.rb', line 216

def initialize(name, columns, chart)
  items = chart.map { |l| mix_column(columns, l) }
  super(name, "1D100", items)
end