Class: Lich::Gemstone::Combat::Definitions::Statuses::StatusDef

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#add_patternsArray<Regexp> (readonly)

Returns patterns that indicate when the status is applied.

Returns:

  • (Array<Regexp>)

    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)

#nameSymbol (readonly)

Returns the name of the status.

Returns:

  • (Symbol)

    the name of the status



19
# File 'documented/gemstone/combat/defs/statuses.rb', line 19

StatusDef = Struct.new(:name, :add_patterns, :remove_patterns)

#remove_patternsArray<Regexp> (readonly)

Returns patterns that indicate when the status is removed.

Returns:

  • (Array<Regexp>)

    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)