Class: Lich::Gemstone::Combat::Definitions::Statuses::StatusDef
- Inherits:
-
Struct
- Object
- Struct
- Lich::Gemstone::Combat::Definitions::Statuses::StatusDef
- Defined in:
- documented/gemstone/combat/defs/statuses.rb
Overview
Represents a status definition with patterns for adding and removing the status.
Instance Attribute Summary collapse
-
#add_patterns ⇒ Array<Regexp>
readonly
Patterns that indicate when the status is applied.
-
#name ⇒ Symbol
readonly
The name of the status.
-
#remove_patterns ⇒ Array<Regexp>
readonly
Patterns that indicate when the status is removed.
Instance Attribute Details
#add_patterns ⇒ Array<Regexp> (readonly)
Returns patterns that indicate when the status is applied.
19 |
# File 'documented/gemstone/combat/defs/statuses.rb', line 19 StatusDef = Struct.new(:name, :add_patterns, :remove_patterns) |
#name ⇒ Symbol (readonly)
Returns the name of the status.
19 |
# File 'documented/gemstone/combat/defs/statuses.rb', line 19 StatusDef = Struct.new(:name, :add_patterns, :remove_patterns) |
#remove_patterns ⇒ Array<Regexp> (readonly)
Returns patterns that indicate when the status is removed.
19 |
# File 'documented/gemstone/combat/defs/statuses.rb', line 19 StatusDef = Struct.new(:name, :add_patterns, :remove_patterns) |