Class: Lich::Gemstone::Combat::Definitions::Resolutions::ResolutionDef
- Inherits:
-
Struct
- Object
- Struct
- Lich::Gemstone::Combat::Definitions::Resolutions::ResolutionDef
- Defined in:
- documented/gemstone/combat/defs/outcomes.rb
Overview
One roll grammar and the line format(s) that carry it.
Instance Attribute Summary collapse
-
#patterns ⇒ Array<Regexp>
Roll-line formats; every named capture becomes a key in the parsed hash.
-
#type ⇒ Symbol
Roll family (:as_ds, :cs_td, :smr, ...).
Instance Attribute Details
#patterns ⇒ Array<Regexp>
Returns roll-line formats; every named capture becomes a key in the parsed hash.
330 |
# File 'documented/gemstone/combat/defs/outcomes.rb', line 330 ResolutionDef = Struct.new(:type, :patterns) |
#type ⇒ Symbol
Returns roll family (:as_ds, :cs_td, :smr, ...).
330 |
# File 'documented/gemstone/combat/defs/outcomes.rb', line 330 ResolutionDef = Struct.new(:type, :patterns) |