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

Synopsis

attributes = SpellInfo:GetAttributes( attributeType )

Arguments

int8 attributeType

The type of the attribute..

Returns

uint32 attributes
See method description.

Generated on
©2016 - Eluna Lua Engine