Method SpellInfo:IsPositiveEffect [-] [+]

Returns true if the effect at the given index of the SpellInfo is positive, false otherwise.

Synopsis

isPositiveEffect = SpellInfo:IsPositiveEffect( effIndex )

Arguments

number effIndex

The effect index (0-MAX_SPELL_EFFECTS-1).

Valid numbers: integers from 0 to 255.

Returns

boolean isPositiveEffect
See method description.

Generated on
© 2010 - 2024 Eluna Lua Engine