Method SpellInfo:HasEffect [-] [+]

Returns true if the SpellInfo has the given spell effect, false otherwise.

Synopsis

hasEffect = SpellInfo:HasEffect( effect )

Arguments

number effect

The [SpellEffects] to check for.

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

Returns

boolean hasEffect
See method description.

Generated on
© 2010 - 2024 Eluna Lua Engine