Class: Lich::Gemstone::Combat::Definitions::Outcomes::OutcomeDef
- Inherits:
-
Struct
- Object
- Struct
- Lich::Gemstone::Combat::Definitions::Outcomes::OutcomeDef
- Defined in:
- documented/gemstone/combat/defs/outcomes.rb
Overview
One outcome category and the game lines that signal it.
Instance Attribute Summary collapse
-
#patterns ⇒ Array<Regexp>
Lines that signal this outcome; may carry named captures (target, attacker, weapon, armor).
-
#type ⇒ Symbol
Outcome category (:miss, :hit, :evade, ...).
Instance Attribute Details
#patterns ⇒ Array<Regexp>
Returns lines that signal this outcome; may carry named captures (target, attacker, weapon, armor).
21 |
# File 'documented/gemstone/combat/defs/outcomes.rb', line 21 OutcomeDef = Struct.new(:type, :patterns) |
#type ⇒ Symbol
Returns outcome category (:miss, :hit, :evade, ...).
21 |
# File 'documented/gemstone/combat/defs/outcomes.rb', line 21 OutcomeDef = Struct.new(:type, :patterns) |