Module: FifthedSim
- Defined in:
- lib/fifthed_sim.rb,
lib/fifthed_sim/stat.rb,
lib/fifthed_sim/actor.rb,
lib/fifthed_sim/spell.rb,
lib/fifthed_sim/attack.rb,
lib/fifthed_sim/damage.rb,
lib/fifthed_sim/version.rb,
lib/fifthed_sim/compiler.rb,
lib/fifthed_sim/roll_repl.rb,
lib/fifthed_sim/stat_block.rb,
lib/fifthed_sim/damage_types.rb,
lib/fifthed_sim/distribution.rb,
lib/fifthed_sim/dice_expression.rb,
lib/fifthed_sim/nodes/less_node.rb,
lib/fifthed_sim/nodes/roll_node.rb,
lib/fifthed_sim/nodes/block_node.rb,
lib/fifthed_sim/nodes/multi_node.rb,
lib/fifthed_sim/calculated_fixnum.rb,
lib/fifthed_sim/nodes/number_node.rb,
lib/fifthed_sim/nodes/greater_node.rb,
lib/fifthed_sim/nodes/addition_node.rb,
lib/fifthed_sim/nodes/division_node.rb,
lib/fifthed_sim/nodes/subtraction_node.rb,
lib/fifthed_sim/nodes/multiplication_node.rb
Defined Under Namespace
Modules: CalculatedFixnum Classes: Actor, AdditionNode, Attack, BlockNode, Compiler, Damage, DamageTypes, DiceExpression, Distribution, DivisionNode, GreaterNode, LessNode, MultiNode, MultiplicationNode, NumberNode, RollNode, RollRepl, Spell, Stat, StatBlock, SubtractionNode
Constant Summary collapse
- VERSION =
Constant version string
"0.3.0"
- STAT_TYPES =
[:str, :dex, :wis, :cha, :con, :int]
- DAMAGE_TYPES =
%i(slashing bludgeoning piercing fire cold poison acid psychic necrotic radiant lightning thunder force)
Class Method Summary collapse
Class Method Details
.d(*args) ⇒ Object
Roll a dice. Normally, you access this through the monkey-patch on Fixnum.
19 20 21 |
# File 'lib/fifthed_sim.rb', line 19 def self.d(*args) MultiNode.d(*args) end |