Method SpellInfo:EffectIsEffectType [-] [+]

Returns true if the given effect slot of the SpellInfo is the given effect type, false otherwise.

Synopsis

isEffectType = SpellInfo:EffectIsEffectType( effIndex, effect )

Arguments

number effIndex

The effect slot (0-MAX_SPELL_EFFECTS-1).

Valid numbers: integers from 0 to 4,294,967,295.

number effect

The [SpellEffects] to check for.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

boolean isEffectType
See method description.

Generated on
© 2010 - 2024 Eluna Lua Engine