module FifthedSim
Constants
- DAMAGE_TYPES
- STAT_TYPES
- VERSION
Constant version string
Public Class Methods
d(*args)
click to toggle source
Roll a dice. Normally, you access this through the monkey-patch on Fixnum
.
# File lib/fifthed_sim.rb, line 19 def self.d(*args) MultiNode.d(*args) end
define_actor(name, &block)
click to toggle source
# File lib/fifthed_sim.rb, line 27 def self.define_actor(name, &block) Actor.define(name, &block) end
make_roll(val, type)
click to toggle source
# File lib/fifthed_sim.rb, line 23 def self.make_roll(val, type) RollNode.new(val, type) end