Class: DiceDisplay

Class DiceDisplay |
In: | rbot/plugins/dice.rb
Parent: | Object

Filename: dice.rb Description: Rbot plugin. Rolls rpg style dice Author: David Dorward (david.us-lot.org/ - you might find a more up to date version of this plugin there) Version: 0.3.2 Date: Sat 6 Apr 2002

You can get rbot from: www.linuxbrit.co.uk/rbot/

Changelog 0.1 - Initial release 0.1.1 - bug fix, only 1 digit for number of dice sides on first roll 0.3.0 - Spelling correction on changelog 0.1.1

          - Return results of each roll

0.3.1 - Minor documentation update 0.3.2 - Bug fix, could not subtract numbers (String can't be coerced into Fixnum)

TODO: Test! Test! Test!

          Comment!
          Fumble/Critical counter (1's and x's where x is sides on dice)

Methods

new

Attributes

:total | [R] |
:view | [R] |

Public Class methods

new(view, total)