Class: BCDice::GameSystem::StellarLife::StellarLifeD10Table::RollResult

Inherits:
DiceTable::RollResult show all
Defined in:
lib/bcdice/game_system/StellarLife.rb

Overview

このゲームでは D10 の出目 10 を 0 と読む

Instance Attribute Summary

Attributes inherited from DiceTable::RollResult

#body, #table_name, #value

Instance Method Summary collapse

Methods inherited from DiceTable::RollResult

#empty?, #initialize, #last_body

Constructor Details

This class inherits a constructor from BCDice::DiceTable::RollResult

Instance Method Details

#to_sObject



113
114
115
# File 'lib/bcdice/game_system/StellarLife.rb', line 113

def to_s
  "#{@table_name}(#{@value == 10 ? 0 : value}) > #{@body}"
end