Method SpellInfo:GetAttributes [-] [+]
Retrieves the attributes of the SpellInfo based on the attribute type.
Attributes are properties or traits of a spell. There are different categories (0 to 8 in this case) of attributes.
How each type of attribute is extracted:
0 : Attributes 1 : AttributesEx 2 : AttributesEx2 3 : AttributesEx3 4 : AttributesEx4 5 : AttributesEx5 6 : AttributesEx6 7 : AttributesEx7 -1 : AttributesCu -2 : AttributesCuEx -3 : AttributesCuEx2 -4 : AttributesCuEx3 -5 : AttributesCuEx4 -6 : AttributesCuEx5
Synopsis
attributes = SpellInfo:GetAttributes( attributeType )
Arguments
number attributeType
The type of the attribute..
Valid numbers: integers from -127 to 127.
Returns