Class: Lich::Gemstone::Combat::Definitions::Attacks::AttackDef
- Inherits:
-
Struct
- Object
- Struct
- Lich::Gemstone::Combat::Definitions::Attacks::AttackDef
- Defined in:
- documented/gemstone/combat/defs/attacks.rb
Overview
Represents an attack definition with a name and associated patterns.
Instance Attribute Summary collapse
-
#name ⇒ Symbol
readonly
The name of the attack.
-
#patterns ⇒ Array<Regexp>
readonly
The patterns that match the attack description.
Instance Attribute Details
#name ⇒ Symbol (readonly)
Returns the name of the attack.
17 |
# File 'documented/gemstone/combat/defs/attacks.rb', line 17 AttackDef = Struct.new(:name, :patterns) |
#patterns ⇒ Array<Regexp> (readonly)
Returns the patterns that match the attack description.
17 |
# File 'documented/gemstone/combat/defs/attacks.rb', line 17 AttackDef = Struct.new(:name, :patterns) |